|
|
|
|
|
by mutant_self
1245 days 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 |
|