Yo ! First of all thanks for your help. I know there are some similar topics but I want to understand and get an explaination please. Trying to plot stock prices evolution , I used this code:
import pandas_datareader as web
import matplotlib.pyplot as plt
import datetime as dt
tickers = ["AAPL", "MSFT", "AMZN"]
start_date = dt.datetime(2021,1,1)
end_date = dt.datetime(2021,2,10)
prices = web.get_data_yahoo(tickers,
start = start_date,
end = end_date)
prices["Adj Close"].plot()
plt.show()
I don't understand why when I plot the year part (x axis) gives something like 3990-01-05 ,etc.
Thanks for your help.
JaNa