Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning for Pandas groupby functions #42

Closed
aazuspan opened this issue Mar 15, 2023 · 0 comments · Fixed by #45
Closed

Deprecation warning for Pandas groupby functions #42

aazuspan opened this issue Mar 15, 2023 · 0 comments · Fixed by #45
Assignees
Labels
bug Something isn't working

Comments

@aazuspan
Copy link
Owner

Running modis_snow_and_ice in Binder gives the following warning when you run dataset.sankify:

/srv/conda/envs/notebook/lib/python3.8/site-packages/sankee/plotting.py:153: FutureWarning:

The default value of numeric_only in DataFrameGroupBy.mean is deprecated. In a future version, numeric_only will default to False. Either specify numeric_only or select only columns which should be valid for the function.

/srv/conda/envs/notebook/lib/python3.8/site-packages/sankee/plotting.py:159: FutureWarning:

The default value of numeric_only in DataFrameGroupBy.sum is deprecated. In a future version, numeric_only will default to False. Either specify numeric_only or select only columns which should be valid for the function.

This happens within SankeyPlot.get_sorted_classes. I'm guessing I intentionally dropped some non-numeric columns that weren't needed, but I'll need to clean that up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant