Skip to content

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