Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Replacing Pandas with Polars. A Practical Guide. Parent comment
``` 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.
``` 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