I tried to read data that was available online and tried to run the sam script given by the author, but it said there was an error in the script.
df = pd.read_csv('travel-times.csv', parse_dates=[['Date', 'StartTime']], index_col='Date_StartTime')
Error: unexpected '[[' in "df = pd.read_csv('travel-times.csv', parse_dates=[["
Tried to replace the brackets "" with "( )" and then it said:
df = pd.read_csv('travel-times.csv', parse_dates= (('Date', 'StartTime')), index_col='Date_StartTime')
Error: unexpected ',' in "df = pd.read_csv('travel-times.csv', parse_dates= (('Date',"
I am not able to find the error as I am a beginner. Any help is highly appreciated.