Skip to content

value counts NaT doesn't count as NaN #7423

Closed
@hayd

Description

@hayd

fix on the way.

dt = pd.to_datetime(['NaT', '2014-01-01'])
value_counts(dt)  # should have one entry

(Actually there is an issue with timedeltas too (you can't create an timedelta index.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions