Skip to content

Inconsistent name for keyword that determines whether new object is generated #5769

Closed
@8one6

Description

@8one6

If I understand this right, the syntax is:

df.sort_index(..., inplace=False)

but is

df.reindex_axis(..., copy=True)

Any reason why we shouldn't just use the same keyword (either copy or inplace) in all functions to determine whether to modify the original object or make a new one?

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