atreadw1492 / yahoo_fin

Scrape stock price history from new (Spring 2017) Yahoo Finance layout
MIT License
292 stars 125 forks source link

Deprecated use of frame.append method #90

Open RyanBlakeIT opened 2 years ago

RyanBlakeIT commented 2 years ago

Receiving a warning message when running queries. Not sure what needs to be changed on these lines as simply replacing append with concat doesn't work.

/usr/local/lib/python3.9/site-packages/yahoo_fin/stock_info.py:295: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead. data = tables[0].append(tables[1]) /usr/local/lib/python3.9/site-packages/yahoo_fin/stock_info.py:302: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead. data = data.append(quote_price)