Skip to content

Naming inconsistency in import of maybe_convert_indices in pandas.core.index.py #10610

Closed
@djgagne

Description

@djgagne

In lines 930-931 of pandas.core.index.py, the following code states

from pandas.core.indexing import _maybe_convert_indices
return _maybe_convert_indices(indexer, len(self))

In pandas.core.indexing.py, the function is called maybe_convert_indices. In the 3 other places where the function is called, it is called using the correct name. The leading underscore should be removed from the function name in index.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIndexingRelated to indexing on series/frames, not to indexes themselves

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions