Skip to content

REF: de-duplicate _wrap_joined_index #36282

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 37 commits into from
Sep 12, 2020

Conversation

jbrockmendel
Copy link
Member

No description provided.

jbrockmendel and others added 30 commits August 20, 2020 21:19
@@ -767,7 +767,8 @@ def _wrap_joined_index(
self, joined: np.ndarray, other: "CategoricalIndex"
) -> "CategoricalIndex":
name = get_op_result_name(self, other)
return self._create_from_codes(joined, name=name)
Copy link
Contributor

Choose a reason for hiding this comment

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

you might soon be able to remove _create_from_codes

Copy link
Member Author

Choose a reason for hiding this comment

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

im optimistic

@jreback jreback added Clean Reshaping Concat, Merge/Join, Stack/Unstack, Explode Index Related to the Index class or subclasses labels Sep 12, 2020
@jreback jreback added this to the 1.2 milestone Sep 12, 2020
@jreback jreback merged commit 15fd0e7 into pandas-dev:master Sep 12, 2020
@jbrockmendel jbrockmendel deleted the ref-wrap_joined_index branch September 12, 2020 20:57
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean 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.

4 participants