4 ms·
I would do the Pandas and Polars examples differently: ``` pd_df['date'].value_counts() # pandas pl_df.select(pl.col('date').value_counts()) # polars `
by mutant_self 4y ago
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