pandas-cookbook icon indicating copy to clipboard operation
pandas-cookbook copied to clipboard

Update to Ch 5: read_csv

Open mariocpinto opened this issue 8 years ago • 0 comments

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)

mariocpinto avatar Apr 14 '16 05:04 mariocpinto