์๋ ํ์ธ์, ์จ์ค์ ๋๋ค. 6์ฅ์๋ ๋ค์ ๊ตฌ์์ธ ๋ถ๋ถ์ด ์์ต๋๋ค.
XML and HTML, Web scraping
NB. The Yahoo! Finance API has changed and this example no longer works
๊ทธ ๋ถ๋ถ์ ์์ ํ์ฌ v2.0์ ์ ๊ณตํ์๊ฒ ์ต๋๊น?
์ผํ! 2ํ์ ์ํ ์ฌ๋ฌด ์ฌ๋ก(์ง๊ธ๋ถํฐ ๋ช ๋ ํ์๋ Yahoo!๊ฐ ์ด๋ค ๋ชจ์ต์ผ์ง ๋๊ฐ ์๊ฒ ์ต๋๊น?)
@jingw222 pandas_datareader ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ฌ์ฉํ์ฌ ๋ฐ์ดํฐ ๋ถ์์ฉ Python์์ ์ฐ์ต์ ๊ณ์ ๋ณต์ ํ ์ ์์ต๋๋ค. https://github.com/pydata/pandas-datareader ์ฐธ์กฐ
pdr๋ก pandas_datareader ๊ฐ์ ธ์ค๊ธฐ
pdr.get_data_yahoo('AAPL')
2ํ์์ ์์ ๋จ
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
@jingw222 pandas_datareader ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ฌ์ฉํ์ฌ ๋ฐ์ดํฐ ๋ถ์์ฉ Python์์ ์ฐ์ต์ ๊ณ์ ๋ณต์ ํ ์ ์์ต๋๋ค. https://github.com/pydata/pandas-datareader ์ฐธ์กฐ