Skip to content

BUG: isnull of a PeriodIndex object array failing when NaT #9553

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
ghost opened this issue Feb 25, 2015 · 1 comment
Closed

BUG: isnull of a PeriodIndex object array failing when NaT #9553

ghost opened this issue Feb 25, 2015 · 1 comment
Labels
Bug Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Period Period data type
Milestone

Comments

@ghost
Copy link

ghost commented Feb 25, 2015

Pandas isnull failing for NaT period index

s= pd.PeriodIndex([pd.NaT,'2014-01-01'],freq='M')
pd.isnull(s)

array([False, False], dtype=bool)

@jreback
Copy link
Contributor

jreback commented Feb 25, 2015

this was fixed here and will be in forthcoming 0.16.0

@jreback jreback added Bug Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Period Period data type labels Feb 25, 2015
@jreback jreback added this to the 0.16.0 milestone Feb 25, 2015
@jreback jreback closed this as completed Feb 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Period Period data type
Projects
None yet
Development

No branches or pull requests

1 participant