Skip to content

Conversation

@topper-123
Copy link
Contributor

Removes **kwargs from Index.copy and MultiIndex.copy.

@topper-123 topper-123 changed the title CLN: clean signature of (Index|MultiIndex).copy CLN: remove kwargs from signature of (Index|MultiIndex).copy Feb 4, 2020
Parameters
----------
name : str, optional
name : Optional[Hashable]
Copy link
Member

Choose a reason for hiding this comment

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

should we call this Label (from pandas._typing)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, I've changed this to Label.

@jreback jreback added Clean Index Related to the Index class or subclasses labels Feb 5, 2020
@jreback jreback added this to the 1.1 milestone Feb 5, 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, ex- @jbrockmendel comment

@topper-123
Copy link
Contributor Author

Ping. I've rebased just in case.

@jbrockmendel
Copy link
Member

LGTM

@jreback jreback merged commit b30d7d4 into pandas-dev:master Feb 9, 2020
@jreback
Copy link
Contributor

jreback commented Feb 9, 2020

thanks @topper-123

@topper-123 topper-123 deleted the cln_index_copy branch February 12, 2020 21:48
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants