Skip to content

Fix merge error logging order #58310

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

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Conversation

Georgehe4
Copy link
Contributor

The logged messages have inconsistent key ordering and can lead to confusion, updating error message to keep left -> right order consistent.

Compare to: https://github.com/pandas-dev/pandas/blob/main/pandas/core/reshape/merge.py#L2107

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@mroeschke mroeschke added the Error Reporting Incorrect or improved errors from pandas label Apr 18, 2024
@mroeschke mroeschke added this to the 3.0 milestone Apr 18, 2024
@mroeschke mroeschke merged commit e60bb8e into pandas-dev:main Apr 18, 2024
@mroeschke
Copy link
Member

Sure. Thanks @Georgehe4

pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Reporting Incorrect or improved errors from pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants