Skip to content

CLN/API: combine .swaplevel() into generic #12960

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
jreback opened this issue Apr 22, 2016 · 2 comments
Closed

CLN/API: combine .swaplevel() into generic #12960

jreback opened this issue Apr 22, 2016 · 2 comments
Labels
API - Consistency Internal Consistency of API/Behavior Enhancement MultiIndex

Comments

@jreback
Copy link
Contributor

jreback commented Apr 22, 2016

xref #12943

seems we have lots of implementations of the same routine with slightly different API.

pd.DataFrame.swaplevel(self, i, j, axis=0, inplace=False) (this is before the default args).

I would remove the copy arg from Series and use something like this.

@jreback
Copy link
Contributor Author

jreback commented Apr 22, 2016

cc @brandon-rhodes

@jreback jreback modified the milestones: 0.20.0, Next Minor Release Apr 2, 2017
@jreback jreback modified the milestones: Interesting Issues, Next Major Release Nov 26, 2017
@mroeschke mroeschke added API - Consistency Internal Consistency of API/Behavior Enhancement and removed Clean labels Apr 23, 2021
@mroeschke mroeschke removed this from the Contributions Welcome milestone Oct 13, 2022
@mroeschke
Copy link
Member

Appears this hasn't gotten traction in a while so closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API - Consistency Internal Consistency of API/Behavior Enhancement MultiIndex
Projects
None yet
Development

No branches or pull requests

3 participants