This is my code that I plan to use for creating a BAR chart.Ignore next line.I am writing this just to balance the code and details .
import numpy as np import pa
Just change
x=np.arange(11) to x = np.arange(len(df))
and
plt.xticks(np.arange(11),Countries,rotation=30) to plt.xticks(x,Countries,rotation=30)