-
Notifications
You must be signed in to change notification settings - Fork 794
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
fix: Raise informative error message if a non-existent column name is passed #3533
fix: Raise informative error message if a non-existent column name is passed #3533
Conversation
d80c24a
to
e343aae
Compare
Just to be extra cautious, since the original message in vega#3532 referenced `pandas` directly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix @MarcoGorelli!
I wasn't expecting you'd object to d9e219b
(#3533) but let me know if you do.
Other than that, I only had one minor typing-related suggestion
data: pd.DataFrame | DataFrameLike | None = None, | ||
data: IntoDataFrame | None = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this wasn't quite right to begin with, looking into it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @MarcoGorelli
closes #3532