In pandas how can we make the datetime column from this data?
df = pd.DataFrame({'date': ['2020-02-04T22:03:44.846000+00:00']})
print(df)
date
0 2020-02-04T22:03:44.846000+00:00
I am not sure what is the letter "T" here.
Attempts
pat = '%y-%m-%dT%H:%M%:%SZ'
df['date'] = pd.to_datetime(df['date'],format=pat)
I am not sure what is the correct format here.
ISO 8601