Skip to content

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

Closed
@jreback

Description

@jreback

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions