8000 time delta index · Issue #7425 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content
time delta index #7425
@hayd

Description

@hayd

You can't seem to create a time delta index, even if you force object dtype:

In [4]: td = pd.Series([np.timedelta64(10000), pd.NaT], dtype='timedelta64[ns]')

In [5]: pd.Index(td)
Out[5]: Int64Index([10000, -9223372036854775808], dtype='int64')

In [6]: pd.Index(td, dtype= 'timedelta64[ns]')
Out[6]: Int64Index([10000, -9223372036854775808], dtype='int64')

related to #7423

Perhaps there is already an issue for this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0