-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: retain attrs when concat dataframes #41828
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
Comments
Hi @xiki-tempula, thanks for the report. |
@lithomas1 Thanks for the comment. I'm thinking that the logic of the concat should be
I wonder what is your thought? |
No, I don't think we should raise if the attrs don't match. They aren't supposed to affect the result of the computation. For now, let's just support the case where attrs match, dropping them in other cases. We can add a keyword to concat later to control that behavior. |
Using Instead of import pandas as pd How do we keep the order? |
is this merge in the latest version of pandas? |
@MSingh00 Yes. This should be the case. |
Is your feature request related to a problem?
I wish the attrs could be retained when concat data frames.
Describe the solution you'd like
API breaking implications
N/A
Describe alternatives you've considered
N/A
The text was updated successfully, but these errors were encountered: