I am relatively new to programming , and I am trying to execute my piece of code in order to plot the values
My code:
import matplotlib.pyplot as plt
import pandas as pd
# set directory
df = pd.read_excel('Angle difference plot.xlsx', 'Sheet1')
# set plot
plt.plot(df['Angle'], df['RE Angle'])
# set label
plt.xlabel('calculated angle')
plt.ylabel('ground truth)')   
plt.title('angle accuracy plot')
plt.legend()
plt.show
When I execute the above code , I get the following error :
 return self._engine.get_loc(key)
  File "pandas\_libs\index.pyx", line 111, in pandas._libs.index.IndexEngine.get_loc
  File "pandas\_libs\index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc
  File "pandas\_libs\hashtable_class_helper.pxi", line 1619, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas\_libs\hashtable_class_helper.pxi", line 1627, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'Angle'
Can someone explain me why I am seeing this error ?
My excel file looks like this :

Any help is very much appreciated
 
     
     
     
    