We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Decide the behavior if non Index with same values is passed. Currently, there is incompatibility between dtypes.
Index
pd.Index([1], dtype=object).equals(pd.Series([1], dtype=object)) # False pd.Index([1]).equals(pd.Series([1])) # True
pd.show_versions()
on current master
The text was updated successfully, but these errors were encountered:
these have to be dtype compat as well as values
right so the top should work
Sorry, something went wrong.
@jreback OK, always return False if input is not Index. Regarding dtype, there are some tests which allows the difference.
False
dtype
You mean following must be False?
pd.Index([1, 2]).equals(pd.Index([1., 2.])) # True
no what I mean is another Index is ok, but NOT a Series.
Series
4488f18
Successfully merging a pull request may close this issue.
Code Sample, a copy-pastable example if possible
Decide the behavior if non
Index
with same values is passed. Currently, there is incompatibility between dtypes.output of
pd.show_versions()
on current master
The text was updated successfully, but these errors were encountered: