how to drop a rows from the data frame code example
Example 1: drop columns pandas
df.drop(columns=['B', 'C'])
Example 2: remove rows from dataframe
df.drop(['Cochice', 'Pima'])
df.drop(columns=['B', 'C'])
df.drop(['Cochice', 'Pima'])