pandas-cookbook
pandas-cookbook copied to clipboard
Update to Ch 5: read_csv
In the latest version (.18) of pandas, this statement from ch.5 doesn't seem to work:
weather_mar2012 = pd.read_csv(url, skiprows=15, index_col='Date/Time', parse_dates=True, encoding='latin1', header=True)
The following worked for me:
weather_mar2012 = pd.read_csv(url, index_col='Date/Time', parse_dates=True, encoding='latin1', header=14)