WillKoehrsen / Data-Analysis

Data Science Using Python
https://medium.com/@williamkoehrsen/
MIT License
5.12k stars 3.63k forks source link

in plotly-time-series.ipynb Value error when reading the csv #30

Closed zinyosrim closed 5 years ago

zinyosrim commented 5 years ago

df = pd.read_csv('building_one.csv', header=[0, 1], index_col=False) produces a ValueError: index_col must only contain row numbers when specifying a multi-index header.

zinyosrim commented 5 years ago

To resolve: Copied the raw data from https://media.githubusercontent.com/media/WillKoehrsen/Data-Analysis/master/plotly/building_one.csv and saved it as building_one.csv

WillKoehrsen commented 5 years ago

Yes, the csv files are saved in [Git Large File Storage])(https://git-lfs.github.com/). To access them, you have to download the original raw file from GitHub since the file if you pull the repository is only a pointer. Thanks for posting the solution!