value counts NaT doesn't count as NaN (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

pandas-dev / pandas Public

Additional navigation options

New issue

New issue

Closed

#7424

Closed

value counts NaT doesn't count as NaN

#7423

#7424

Labels

BugDatetimeDatetime data dtypeTimedeltaTimedelta data type

Milestone

0.14.1

@hayd

Description

@hayd

hayd

opened

on Jun 10, 2014

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

BugDatetimeDatetime data dtypeTimedeltaTimedelta data type

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions