I am trying to run below code but everytime I am getting a typing error.
def parse(x):
return datetime.strptime(x, '%Y %-m %-d %-H:%-M:%-S')
dataset = read_csv('ID1887011.csv', delimiter=",", parse_dates = [['year',
'month','day','hours','minutes', 'seconds']],
index_col=0, date_parser=parse)
Hi I made some changes in the code and now its working.