-
-
Notifications
You must be signed in to change notification settings - Fork 19k
CLN: Enforce deprecation of not validating na argument to string methods #62399
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
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.
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.
BTW, I don't know if there is a case for which you are foreseeing allow_no_default
and allow_bool
to be used, but if they would actually be used, then the error message would also have to be updated to follow that.
(so for now could also simplify things leaving out the keywords?)
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.
How would you feel about ...must be a valid value; got {value}
?
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 personally think it is useful to give an indication about what a valid value is (or say "a valid value for dtype ..", so then if it is bool, then it is clearer that it should be True/False or a missing value (for nullable bool)?)
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.Ref: #59615
The default of
na
in these methods was changed fromNone
tono_default
in #59616; I am assuming we want to stick withno_default
.