-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: remove kwargs from signature of (Index|MultiIndex).copy #31669
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
Conversation
eb9fb0f
to
b577cab
Compare
pandas/core/indexes/base.py
Outdated
""" | ||
Make a copy of this object. Name and dtype sets those attributes on | ||
the new object. | ||
|
||
Parameters | ||
---------- | ||
name : str, optional | ||
name : Optional[Hashable] |
There was a problem hiding this comment.
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)?
There was a problem hiding this comment.
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.
There was a problem hiding this 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
b577cab
to
3b88b4f
Compare
3b88b4f
to
53df2b8
Compare
Ping. I've rebased just in case. |
LGTM |
thanks @topper-123 |
Removes
**kwargs
fromIndex.copy
andMultiIndex.copy
.