Closed ericpan64 closed 2 months ago
Todo: figure out the "Polars" way of doing this
Closing -- simplify the goal of pydian DataFrames, should just be fore rearranging data! Leave the dataframe operations to a separate step. Don't need to over-complicate now, and can bring back later
Problem
.apply
works, however is often slow. Sometimes there are faster ways to do the same thing (e.g.df['col'] // 2
is probably going to be 100x faster than.apply(lambda r: r // 2)
Requested feature
Alternatives considered
-
Additional context
apply
on the entire column when possible!)