Skip to content

CLN/TST: move consoliate sort_index to core/generic.py #8283

Closed
@jreback

Description

@jreback

xref #8282
xref #8239 (this issue won't touch the API per se)

expand extend: core/generic.py/NDFrame.sort_index: https://github.com/pydata/pandas/blob/master/pandas/core/generic.py#L1606

with the frame version.
https://github.com/pydata/pandas/blob/master/pandas/core/frame.py#L2689

needs generic docs (e.g. look how reindex is done)

as prob best to start with the frame version that handles ndim=2. Need tests for added capabilities to Series/Panel, e.g. mainly supporting sort_index on a multi-level index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API DesignInternalsRelated to non-user accessible pandas implementationRefactorInternal refactoring of code

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions