Skip to content

REF: de-duplicate algos.try_sort calls #39330

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 2 commits into from
Jan 22, 2021

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

@@ -6353,3 +6335,16 @@ def unpack_nested_dtype(other: Index) -> Index:
# here too.
return dtype.categories
return other


def _maybe_try_sort(result, sort):
Copy link
Contributor

Choose a reason for hiding this comment

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

if you can add a doc-string at some point

@jreback jreback added Index Related to the Index class or subclasses Reshaping Concat, Merge/Join, Stack/Unstack, Explode labels Jan 22, 2021
@jreback jreback added this to the 1.3 milestone Jan 22, 2021
@jreback jreback merged commit cd49372 into pandas-dev:master Jan 22, 2021
@jbrockmendel jbrockmendel deleted the ref-setops-6 branch January 22, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Index Related to the Index class or subclasses Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants