-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Multiindex dataframe #2552
Multiindex dataframe #2552
Conversation
isotope_decay_df["decay_mode"] = isotope_decay_df["decay_mode"].astype( | ||
"category" | ||
) | ||
isotope_decay_df["rad_type"] = isotope_decay_df["rad_type"].astype( |
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.
I would suggest using useful names the categories and make them all uppercase
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.
All column names are kept lower case.
Please add a notebook for documentation. |
Added notebook. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2552 +/- ##
==========================================
- Coverage 68.17% 67.51% -0.66%
==========================================
Files 166 170 +4
Lines 14135 14230 +95
==========================================
- Hits 9636 9608 -28
- Misses 4499 4622 +123 ☔ View full report in Codecov by Sentry. |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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.
Really close, just needs some cleanup and comment responses
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.
Most critical remaining change is that the output dataframe is still lacking a column for energy in erg and not just keV, as we discussed. Also one small docstring change.
I have missed that. |
*beep* *bop* Hi, human. The Click here to see your results. |
📝 Description
Type: | 🚀
feature
| 🎢infrastructure
Distribution of decay energy based on the decay channel.
🚦 Testing
How did you test these changes?
☑️ Checklist