-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
DEPR:change DataFrame.where(..,raise_on_error) -> errors #14968
Comments
I'll start on this tomorrow (Wednesday 4th Jan 2017) |
It looks as if the value of According to the docstring for
Then attempting to compare against a string for a DataFrame of say integers, For example in the following,
In File
This is an aside, the problem seems to be in
The 'TypeError' is raised at [L1181], but the 'handle_error()' [L1167] is where So in this particular case the 'TypeError' exception will always be raised. Also the expressions on [L1171] & [L1172] are the same which looks like a |
@m-charlton PR for this? |
PR for this? |
xref #14878
#14878 deprecated the
raise_on_error
kwarg in favour of theerrors
kwargfor
DataFrame.astype()
.This issue addresses the same deprecation of the
raise_on_error
kwarg forDataFrame.where()
. Again this should be replaced with theerrors
kwarg.The
errors
kwarg can have the valueraise
orignore
with a defaultvalue of
raise
.This issue can be assigned to me - @m-charlton
The text was updated successfully, but these errors were encountered: