You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like in MergeOperation._get_merge_keys the two cases are getting very different left_drop/right_drop. there is a check in there for if len(left) > 0: that looks sketchy. Disabling that check causes the two results in the OP to match. need to track down what that check is for and what breaks when it is disabled
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
The column order is different in these two cases:
Expected Behavior
I believe that the order of the columns should be the same in these two cases.
Installed Versions
The text was updated successfully, but these errors were encountered: