Deleting all the columns of date which contain 2019 in the index data from 2017-2019
df_raw1 = df_raw1.drop(index=['2019'])
Error
KeyError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_15244\372933074.py in <module>
----> 1 df_raw1 = df_raw1.drop(index=['2019'])
KeyError: "['2019'] not found in axis"