I am trying to import stock information from Yahoo finance through its API. I tried get_quote_table but it says:
AttributeError: 'DataFrame' object has no attribute 'append'.
Did you mean: '_append'?
Does anyone know what is the problem? I updated my pandas and checked my python version too.
import yahoo_fin.stock_info as si
import pandas as pd
quote = si.get_quote_table('AAPL')
The last update of
yahoo-finpackage is Jul 10, 2021 so it's incompatible with newer versions of Pandas. If you really need to use this library, downgrade your version of Pandas to 1.5.3:Error "'DataFrame' object has no attribute 'append'"