News for hackers. Stuff that matters.
Re:Replacing Pandas with Polars. A Practical Guide by mutant_self on Sunday January 22, 2023 @09:14AM (#34477582)
I would do the Pandas and Polars examples differently:

``` pd_df['date'].value_counts() # pandas pl_df.select(pl.col('date').value_counts()) # polars ```

Note: we could also do it the Pandas way in Polars but square bracket indexing in Polars is not recommended

There are no comments on this comment yet.