Skip to content

CLN: Collapse private ._take implementation into the public take method #27174

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

Closed
mroeschke opened this issue Jul 2, 2019 · 0 comments · Fixed by #27349
Closed

CLN: Collapse private ._take implementation into the public take method #27174

mroeschke opened this issue Jul 2, 2019 · 0 comments · Fixed by #27349
Labels
Clean good first issue Refactor Internal refactoring of code
Milestone

Comments

@mroeschke
Copy link
Member

xref #27171 (comment)

An internal ._take method was created to process a keyword argument deprecation.
Now that both ._take and .take have the same signature, the code within ._take can be collapsed into the public .take method.

def _take(self, indices, axis=0, is_copy=True):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean good first issue Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants