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

Fix/ts prepend #2237

Merged
merged 6 commits into from Feb 24, 2024
Merged

Fix/ts prepend #2237

merged 6 commits into from Feb 24, 2024

Conversation

madtoinou
Copy link
Collaborator

Fixes #2230.

Summary

  • when calling append/prepend on two series, the hierarchy and components names of the series with the "earlier" index are retained
  • when calling append/prepend_values, the hierarchy and components of the series are retained

Other Information

Not sure if the hierarchy should be retained or not. Since the components don't change, it should be easy to assign the "old" hierarchy to resulting series but at the same time, adding values should not affect the relationship between the components so keeping by default sounds reasonnable.

Copy link
Collaborator

@dennisbader dennisbader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks a lot @madtoinou 🚀

@dennisbader dennisbader merged commit bf51476 into master Feb 24, 2024
7 of 9 checks passed
@dennisbader dennisbader deleted the fix/ts_prepend branch February 24, 2024 12:36
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.

[BUG] Component names are lost when using prepend_values
2 participants