I have a dataframe that looks like shown below
mean
comp_name date
Appdynamics 2012-05-01 00:18:15.910000
2012-05-01 NaT
2012-05-01 NaT
2012-05-02 00:20:12.145200
2012-05-02 NaT
2012-05-02 NaT
Here the comp_name and date form multiindex. I want to get rid of the NaT values and obtain only those rows where the mean(timedelta64) is not NaT.
mean
comp_name date
Appdynamics 2012-05-01 00:18:15.910000
2012-05-02 00:20:12.145200
Any ideas on this?
dropna()
not work for this?