Skip to content

[ArrayManager] Implement .equals method #39721

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

Merged
merged 1 commit into from
Feb 10, 2021

Conversation

jorisvandenbossche
Copy link
Member

xref #39146

Moved the common part (checking of dimension and indices) to the base class equals method so this can be shared, and the actual BlockManager/AraryManager then only need to check the column values.

@jorisvandenbossche jorisvandenbossche added Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code labels Feb 10, 2021
@jorisvandenbossche jorisvandenbossche added this to the 1.3 milestone Feb 10, 2021
@jreback jreback merged commit ab82fb0 into pandas-dev:master Feb 10, 2021
@jreback
Copy link
Contributor

jreback commented Feb 10, 2021

cool this is a nice pattern (e.g. have the top-level api in base & implementation methods separate as needed).

@jorisvandenbossche jorisvandenbossche deleted the am-equals branch February 10, 2021 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants