I am trying to simply read in a dataframe from a csv that is stored locally on my computer. The data is in a csv and is of the format:
date,total_bytes
2018-09-02,1.96E+14
2018-09-04,1.94E+14
2018-09-09,2.15E+14
...
My code looks like:
from pandas import read_csv
from pandas import datetime
from matplotlib import pyplot
series =
read_csv('/Users/taylorjewell/Desktop/dataset_size_daily.csv')
print(series.head())
series.plot()
pyplot.show()
When I try to run this file I get: File "dataset_size_daily.csv", line 2 2018-09-02,1.96E+14 Syntax Error: Invalid token
Where am I going wrong, your help would be much appreciated!