-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Index.equals returns incorrect result #36065
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
|
@MarcoGorelli , yes, |
Yes, sorry, you're right - thanks for explaining! |
@YarShev though actually, the docs do say
and give an example showing that other attributes such as So, it seems correct? |
xref #33940 |
@MarcoGorelli , yes the docs are saying exactly what you mentioned. However, may be it's worth doing this method more restricted? |
Possibly, but it seems this is already being discussed in the issue linked to by Daniel. If this isn't a bug then, is it OK to close it? |
@MarcoGorelli , I think the issue can be closed if it is treated as a bug. Can we keep it as feature request or something like that? |
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
Problem description
Could anyone please explain? Is it normal behavior for
equals
?Output of
pd.show_versions()
pandas : 1.1.1
numpy : 1.18.4
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.2
setuptools : 41.2.0
Cython : None
pytest : 5.4.2
hypothesis : None
sphinx : None
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.14.0
pandas_datareader: None
bs4 : 4.9.1
bottleneck : None
fsspec : 0.7.3
fastparquet : None
gcsfs : None
matplotlib : 3.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.4.1
sqlalchemy : 1.3.17
tables : 3.6.1
tabulate : None
xarray : 0.15.1
xlrd : 1.2.0
xlwt : None
numba : None
The text was updated successfully, but these errors were encountered: