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

NaT - Series[timedelta64] returns NaT #19158

Closed
jbrockmendel opened this Issue Jan 9, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@jbrockmendel
Member

jbrockmendel commented Jan 9, 2018

Surfaced in #19139, not present in 0.22.0:

tdi = pd.TimedeltaIndex(['1 day', '2 day'], name='x')
ser = pd.Series(tdi)

>>> pd.NaT - ser
NaT

Expected:

>>> pd.NaT - ser
0   NaT
1   NaT
Name: x, dtype: timedelta64[ns]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment