Skip to content

NaT Not Correctly showing up as null value #5688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cancan101 opened this issue Dec 12, 2013 · 1 comment
Closed

NaT Not Correctly showing up as null value #5688

cancan101 opened this issue Dec 12, 2013 · 1 comment
Labels
Bug Duplicate Report Duplicate issue or pull request
Milestone

Comments

@cancan101
Copy link
Contributor

On pandas 0.12:

pd.DataFrame( pd.Series([datetime(2012,12,12).replace(tzinfo=pytz.utc)] + [pd.NaT]*100))

I would argue this should show 1 non null-value:

<class 'pandas.core.frame.DataFrame'>
Int64Index: 101 entries, 0 to 100
Data columns (total 1 columns):
0    101  non-null values
dtypes: object(1)
@jreback
Copy link
Contributor

jreback commented Dec 12, 2013

dupe of: #5443

@jreback jreback closed this as completed Dec 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Duplicate Report Duplicate issue or pull request
Projects
None yet
Development

No branches or pull requests

2 participants