Nixtla / utilsforecast

https://nixtlaverse.nixtla.io/utilsforecast
Apache License 2.0
40 stars 6 forks source link

rename polars value_counts output #52

Closed jmoralez closed 8 months ago

jmoralez commented 8 months ago

Since polars 0.20 the output of polars.Series.value_counts names the counts column count whereas it previously was counts. This renames to counts afterwards to be compatible with the other functions that depend on that time.

Also fixes some losses that used df.group_by(other_df[col]) since that doesn't seem to work anymore, even though the df and the series have the same number of rows.

review-notebook-app[bot] commented 8 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB