I have a pandas dataframe with a column like:
In [96]: data[\'difference\'] Out[96]: 0 NaT 1 1 days 21:34:30 2 0 days 16:57:36 3 0 d
This should convert your timedelta64[ns] type to float64 representing days:
timedelta64[ns]
float64
data['difference'].astype('timedelta64[D]')