Skip to content

Conversation

@simonjayhawkins
Copy link
Member

No description provided.

@simonjayhawkins simonjayhawkins added the Refactor Internal refactoring of code label Jul 17, 2020
return other.equals(self)

if is_extension_array_dtype(other.dtype):
# All EA-backed Index subclasses override equals
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a comment about which cases go through here

@jbrockmendel
Copy link
Member

small request, otherwise LGTM

@jreback
Copy link
Contributor

jreback commented Jul 17, 2020

yep lgtm.

@simonjayhawkins simonjayhawkins added this to the 1.2 milestone Jul 29, 2020
@simonjayhawkins
Copy link
Member Author

ok to merge?

@jreback
Copy link
Contributor

jreback commented Jul 29, 2020

do we have a test for this?

@simonjayhawkins
Copy link
Member Author

we have tests in pandas\tests\indexes\test_base.py and pandas\tests\indexes\multi\test_equivalence.py and

@jreback jreback merged commit 0b90685 into pandas-dev:master Aug 3, 2020
@jreback
Copy link
Contributor

jreback commented Aug 3, 2020

thanks @simonjayhawkins

@simonjayhawkins simonjayhawkins deleted the refactor-index.equals branch August 4, 2020 08:55
simonjayhawkins added a commit to simonjayhawkins/pandas that referenced this pull request Dec 18, 2020
jreback pushed a commit that referenced this pull request Dec 18, 2020
meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Dec 18, 2020
simonjayhawkins added a commit that referenced this pull request Dec 18, 2020
…als (always dispatchto subclass) (#35330)" (#38565)

Co-authored-by: Simon Hawkins <[email protected]>
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Internal refactoring of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants