drop lines in df code example
Example 1: df.drop index
df.reset_index(drop=True, inplace=True)
Example 2: remove rows from dataframe
df.drop(['Cochice', 'Pima'])
df.reset_index(drop=True, inplace=True)
df.drop(['Cochice', 'Pima'])