Hi:
I am using times.append(row[0])
to initilaize time series but time is not aligning properly on x-axis.
Please refer here. Where i am going wrong? Can anyone put forth thoughts on that? Thanks
Please read these 2 steps from the writeup for the exercise and fix your code:
-
csv.reader
returns an iterable that returns each row in every iteration. So the temperature can be accessed via row[1] and the date can be discarded. - The
times
list should contain every timestep (starting at zero), which is just a sequence of ordered numbers with the same length as thetemperatures
list.