wesm / pydata-book

Materials and IPython notebooks for "Python for Data Analysis" by Wes McKinney, published by O'Reilly Media
Other
22.27k stars 15.2k forks source link

XML and HTML: Web scraping #57

Closed jingw222 closed 7 years ago

jingw222 commented 7 years ago

Hi, Wes. In Chapter 6, there's one part that's kind of outdated:

XML and HTML, Web scraping NB. The Yahoo! Finance API has changed and this example no longer works

Do you mind revise that part and present us a v2.0?

wesm commented 7 years ago

I am removing the Yahoo! Finance example (since who knows what Yahoo! will look like a few years from now even) for the 2nd edition

duncangh commented 7 years ago

@jingw222 you can still replicate the exercises in Python for Data Analysis using the pandas_datareader library. See https://github.com/pydata/pandas-datareader

import pandas_datareader as pdr pdr.get_data_yahoo('AAPL')

wesm commented 7 years ago

Fixed in 2nd edition