My .csv-file is comma separated, which is the standard setting from read_csv.
This is working:
T1 = pd.DataFrame(pd.read_csv(loggerfile, header = 2)) #header contains column "1"
But as soon as I add something to DataFrame's constructor besides the read_csv, all my values are suddenly NaN.
Why? How to solve this?
datetimeIdx = pd.to_datetime( T1["1"] ) #timestamp-column
T2 = pd.DataFrame(pd.read_csv(loggerfile, header = 2), index = datetimeIdx)