With
df = read_csv('data\query.csv')
I'am getting:
TIMESTAMP MILLISECONDS PRICE
0 15.10.2012 08:00:06 350 24.6
1 15.10.2012 08:00:06 630 24.7
2 15.10.2012 08:00:06 640 24.9
3 15.10.2012 08:00:06 650 24.5
4 15.10.2012 08:00:06 710 24.3
I figured out that this one
df = read_csv('data\query.csv', parse_dates=[[0, 1]], index_col=0)
is concatenating the first two columns to a string but still not recognizing the index as a DatetimeIndex
Additionally this one
Import datetime
datetime.datetime.strptime("15.10.2012 15:30:00 890", "%d.%m.%Y %H:%M:%S %f")
is doing the conversion job.
QUESTION: how to do the conversion and DatetimeIndex in one rush at read_csv?