import datetime
df['DateTime'] = df.apply(lambda row: datetime.datetime.strptime(row['date'
    ] + ':' + row['time'], '%Y.%m.%d:%H:%M'), axis=1)
Parsing datetime from csv in pandas does not yield DateTimeIndex