-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Update Q1 2025 EIA 930 data #4054
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor docs requests but this looks pretty great!
netgen_by_source.columns = pd.MultiIndex.from_tuples( | ||
[x.split("_") for x in netgen_by_source.columns], | ||
# Some of our energy sources have multiple terms in them, so we rsplit on | ||
# a maximum of one underscore to ensure we get the exact two results we need: | ||
[x.rsplit("_", maxsplit=1) for x in netgen_by_source.columns], | ||
names=["generation_energy_source", None], | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is great!
* This includes walking back the prohibition of underscores in energy source names. We now use a different method of generating the MultiIndex dimensions.
Co-authored-by: Christina Gosnell <[email protected]>
0518d17
to
70174c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
oh lol... now that a few more things got merged in before this you'll need to deal with merge conflicts but those should be straightforward |
Overview
Closes #4040.
What did you change?
net_generation
scheme so we don't need new PUDL DB columns to matchDocumentation
Make sure to update relevant aspects of the documentation.
Tasks
Testing
How did you make sure this worked? How can a reviewer verify this?
To-do list
test_minmax_rows()
). #4058