I have a data frame of type str which I want to convert into DateTime format and then want to create another column for time only in hour: min :sec
TimeStamp
20200706 07:00:00
20200706 08:07:00
20200706 08:28:00
20200706 09:30:00
20200706 09:31:00
20200706 09:32:00
datetimeandtime. in datetime you would usestrftime()andstrptime()to read and write specific formats docs.python.org/3/library/….timedoesn't offer as much options, but sometimes it's faster to use.