Python obtient des données financières

#In your command prompt you first need to install yfinance by running:
#pip install yfinance
import yfinance as yf
AAPL = yf.Ticker('AAPL').history('5y')
M.U