6 ms·
Do 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.)
by cmdlineluser 3y ago
Do 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.