Skip to content

Conversation

@jbrockmendel
Copy link
Member

Re-use the comparison method wrapper in CategoricalIndex.

Copy link
Contributor

@TomAugspurger TomAugspurger left a comment

Choose a reason for hiding this comment

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

Looks good.

@jreback jreback added ExtensionArray Extending pandas with custom dtypes or arrays. Index Related to the Index class or subclasses labels Jan 4, 2020
@jreback jreback added this to the 1.0 milestone Jan 4, 2020
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

lgtm. some followon comments

return wrapper


def make_wrapped_comparison_op(opname):
Copy link
Contributor

Choose a reason for hiding this comment

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

at some point should type these

@jreback jreback merged commit 9bdc58e into pandas-dev:master Jan 4, 2020
@jreback
Copy link
Contributor

jreback commented Jan 4, 2020

thanks

@jbrockmendel jbrockmendel deleted the ref-delegate branch January 4, 2020 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ExtensionArray Extending pandas with custom dtypes or arrays. Index Related to the Index class or subclasses

3 participants