Skip to content

Conversation

hasanrashid
Copy link

Updated error message from
"Must have equal len keys and value when setting with an iterable"
to
f"Length mismatch when setting Dataframe with an iterable: " f"{len(pi)} keys vs {len(value)} values. " f"Keys: {pi}, Values: {value}. " f"Both must have the same length."

@hasanrashid
Copy link
Author

hasanrashid commented Jul 23, 2025

Actually, there are some failing test-indexing.py. Forgot to update the message in the testcase

@mroeschke mroeschke added the Error Reporting Incorrect or improved errors from pandas label Jul 23, 2025
@hunterhogan
Copy link

Thank you! I am sure this will make it much easier for me to figure out what I need to change!

@hasanrashid
Copy link
Author

Is there anything I need to do before this is reviewed?

@hasanrashid
Copy link
Author

Hi again folks. forks are synced and all tests passed. Will someone be able to review this PR?

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.

ENH: error message context.
3 participants