Im trying to add additional rows to a data frame where the index is DateTime and am not sure how to go about doing this
AAPL=yf.download('AAPL')
AAPL=AAPL['Adj Close']
AAPL.loc[len(AAPL.index)]=['2021-12-04',0]
This is the error message i recieved
TypeError: cannot insert DatetimeArray with incompatible label