from yahoo_fin import stock_info as si code example Example: import stock data from yahoo finance pip install pandas-datareader