-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Changed read_csv type hint for na_values and added tests Issue#53813 #54486
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
Conversation
na_values: Hashable | ||
| Iterable[Hashable] | ||
| Mapping[Hashable, Iterable[Hashable]] | ||
| 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.
You could remove None
if you like to, it is Hashable
.
Hi @twoertwein and @lithomas1 thank you for the feedback. Do you know where the ellipses issue could be coming from? I only changed the na_values type hint for the read_csv() function. |
You seem to have changed it :) You can always use You can simply replace The easiest way to remove the test is probably |
Hi @twoertwein do the changes I made look good? |
Now you use It might be better to use You can remove the test changes you made. |
Thank you for the feedback. I made the changes |
Thanks @kvn4 ! |
read_csv
type hint forna_values
should include non-iterables as valid arguments #53813