python - .dropna doesn't work as expected -
i seeing odd behaviour when using .dropna
on dataframe
named lcd
within ipython notebook:
in[1] print "before %f" % lcd.last_pymnt_date.isnull().sum() lcd.last_pymnt_date.dropna(inplace=true) print "after %f" % lcd.last_pymnt_date.isnull().sum() out[1] before 84.0000 after 0.0 in[2] print lcd.last_pymnt_date.isnull().sum() out[2] 84.0000
Comments
Post a Comment