8000 REF: Categorical.is_dtype_equal -> categories_match_up_to_permutation by jbrockmendel · Pull Request #37545 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

REF: Categorical.is_dtype_equal -> categories_match_up_to_permutation #37545

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 9 commits into from
Nov 2, 2020
Prev Previous commit
fixup copy/paste
  • Loading branch information
jbrockmendel committed Nov 2, 2020
commit af35fd2ddb3026d1ce04dbd63d08e90886b58052
2 changes: 1 addition & 1 deletion pandas/core/arrays/categorical.py
Original file line number Diff line number Diff line change
Expand Up @@ -2126,7 +2126,7 @@ def _concat_same_type(self, to_concat):

# ------------------------------------------------------------------

def categories_match_up_to_permutation(self, other: "Categorical") -> bool:
def _categories_match_up_to_permutation(self, other: "Categorical") -> bool:
"""
Returns True if categoricals are the same dtype
same categories, and same ordered
Expand Down
0