-
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
Fix/concat #665
Fix/concat #665
Conversation
Codecov Report
@@ Coverage Diff @@
## main #665 +/- ##
=====================================
Coverage 94.5% 94.5%
=====================================
Files 59 59
Lines 5742 5747 +5
=====================================
+ Hits 5431 5436 +5
Misses 311 311
Continue to review full report at Codecov.
|
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.
Looks good, two minor suggestions on the documentation...
Co-authored-by: Daniel Huppmann <dh@dergelbesalon.at>
Thanks for the quick review @danielhuppmann. If the tests all run through I'd go ahead with the merge. |
Thanks for that! I literally stumbled over it last night. |
Perfect coincidence then, happy to fix it. |
Please confirm that this PR has done the following:
Description of PR
closes #664.
The
pyam.concat
function now carries over the index of the merged meta table.Added a unit test to check under
test_feature_append_and_concat.test_concat_non_standard_index
.For documentation I added an additional line to the
notes
section of thepyam.concat
function.One open question from my side would be if there is more documentation than the added docstring required. My hunch would be that it's fine as is since the behavior is not really new but rather more working in line with user expectations.