I am pretty new to pandas and I am struggling some dates in columns.
I have a dataframe column with dates in multiple formats, such as '2021-08-21T06:34:34.909Z' and '2021-08-21T06:34:34Z'
Is there an elegant way to remove all the milliseconds?
Thanks in advance