Feb-20-2021, 08:25 PM
Something like below?
import pandas as pd df = pd.read_csv('minimal_in.csv') df['Datetime'] = pd.to_datetime(df['Year'] + df['Time'], format='%d.%m.%Y%H:%M:%S')df will look like:
Output: Year Time Datetime
0 29.01.2001 13:31:24 2001-01-29 13:31:24
1 29.01.2001 13:31:27 2001-01-29 13:31:27
2 29.01.2001 13:31:29 2001-01-29 13:31:29
3 29.01.2001 13:31:32 2001-01-29 13:31:32
4 29.01.2001 13:31:34 2001-01-29 13:31:34
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.