My df output looks something like this:
'Datetime' 'Date' 'Time'
1 2017-02-24 12:24:11 2017-02-24 12:24:11
2 2017-03-11 12:13:01 2017-03-11 12:13:01
Is it possible to move the 'Time' column so that all three columns are side by side? What could be the reason that the 'Time' column is shown beneath the other two columns?
(Could it have anything to do with the way datetime.date()
or datetime.time()
extracts data? Or perhaps the \
character has to be removed?)