I am trying to bar graph my csv file and try to graph only the top 20 of the data, below I tried to delete data from 0 to 175 to graph the remaining data but what happens is that it only deleted the rows 0 and 175. How do I make it from 0 to 175, I tried doing 0:175 but it marked as an error
import pandas as pd
from matplotlib import pyplot as plt
df = pd.read_csv('MAY_2021_COVID_CLEANED.csv')
df = df.drop([0,175],axis=0)
print(df)
#assigning variables
x = df['Country']
y = df['Death Count']
#Graphing
plt.bar(x,y)
plt.xticks(rotation=90,fontsize=5)
plt.title("Number of Death per Country")
plt.ylabel("Number of Death")
plt.xlabel("Country")
plt.show()