I'm having problems replacing NaT in my data frame and I don't know why. I've tried 'fillna' and 'replace'. For some reason both did not work. My last try is:
df['started'][222] = df['started'][222].replace('NaT', '')
df['started'][222]
The output is:
NaT
Looking at the type of data I'm dealing with, I see: pandas._libs.tslibs.nattype.NaTType
What am I missing?
I appreciate your help.