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

♻️ address pandas FutureWarning #872

Merged
merged 2 commits into from
Jan 17, 2024
Merged

♻️ address pandas FutureWarning #872

merged 2 commits into from
Jan 17, 2024

Conversation

Tomkourou
Copy link
Contributor

@Tomkourou Tomkourou commented Jan 17, 2024

The following code raises a FutureWarning

gen = gen.rename(columns=carrier_grouper).groupby(level=0, axis=1).sum()

PR addresses this warning without changing the structure of the data.

@fneum fneum merged commit c010f14 into PyPSA:master Jan 17, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants