I have to convert the object to DateTime. However, it shows a year, month, and day at the front. So how can I display only time?
f1['Time'] = pd.to_datetime(f1['Time'], format = '%H:%M:%S.%f') f1['Time']
It shows:
0 1900-01-01 01:32:03.897
1 1900-01-01 02:02:34.598
2 1900-01-01 01:34:31.421
What I want is time only, like this:
0 01:32:03.897
1 02:02:34.598
2 01:34:31.421