-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Series.isin(values) raises ValueError if values is a set #12988
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
Comments
Related stackoverflow: http://stackoverflow.com/questions/19070194/isin-function-does-not-work-for-dates The bug raised in that SO post has been fixed, but the discussion between @cpcloud and the poster of the answer sheds light on why |
yeh we should coerce to a before passing. pull-requests welcome. |
Error is raised by
|
this is not a legit input to_datetime as these are ordered outputs I suppose the error message could be better though |
I added the set --> list coercion in |
When trying to use
Series.isin(values)
for Timestamps, an exception is raised ifvalues
is a set.output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: