Skip to content

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented Jul 21, 2016

0.18.1:

s = pd.Series([pd.Period('2011-01', freq='M'), pd.Period('NaT', freq='M')])
s.isnull()
#0    False
#1    False
# dtype: bool

s.fillna(pd.Period('2012-01', freq='M'))
#0   2011-01
#1       NaT
# dtype: object

s.dropna()
#0   2011-01
#1       NaT
# dtype: object

@sinhrks sinhrks added Bug Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Period Period data type labels Jul 21, 2016
@sinhrks sinhrks added this to the 0.19.0 milestone Jul 21, 2016
@jorisvandenbossche
Copy link
Member

Looks good to me!

@jreback jreback changed the title TST/BUG: Added mote tests for Period(NaT) TST/BUG: Added more tests for Period(NaT) Jul 21, 2016
@jreback jreback merged commit b37ec14 into pandas-dev:master Jul 21, 2016
@jreback
Copy link
Contributor

jreback commented Jul 21, 2016

thanks!

@sinhrks sinhrks deleted the period_nat_test branch July 21, 2016 11:00
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

Successfully merging this pull request may close these issues.

3 participants