Skip to content

Index.map followups #18482

Closed
Closed
@jreback

Description

@jreback

xref #15081, a couple of issues

In [2]: pd.date_range('20130101', periods=3).map({})
Out[2]: Float64Index([nan, nan, nan], dtype='float64')

In [3]: pd.Index([1,2,3]).map({})
Out[3]: Float64Index([nan, nan, nan], dtype='float64')

Metadata

Metadata

Assignees

No one assigned

    Labels

    API DesignBugIndexRelated to the Index class or subclassesIntervalInterval data typeTestingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions