4 ms·
The docs are okay, but the feature set is lacking compared to pandas, which is understandable since this is at version 0.2. I was exploring if it's possible to
by petre 3y ago
The docs are okay, but the feature set is lacking compared to pandas, which is understandable since this is at version 0.2. I was exploring if it's possible to use this, but we need diff aggregation which it doesn't have, so it's a no go right now.
- cmdlineluser 3y agoDo you mean something like `.agg(pl.col("foo").diff())`? Or is diff aggregation its own thing? (I tried searching for the term, but didn't find much.)
- petre 3y agoNevermind, it has it but it's under Computation in polars.Series.diff and I was looking under Aggregation. This is great. For instance you've got a time series with an odometer value and you want the a delta from the previous sample to compute the every trip.