Largue uma variedade de linhas pandas
#To delete rows 12 to 22 from the dataframe
df.drop(range(12,23), inplace=True)
M.U
#To delete rows 12 to 22 from the dataframe
df.drop(range(12,23), inplace=True)