Excluir linha do DataFrame Python
df.drop(df.index[-2])
df.drop(df.index[[3, 4]])
df.drop(['row_1', 'row_2'])
df.drop('column_1', axis=1)
df[df.name != 'cell']
JJSSEECC
df.drop(df.index[-2])
df.drop(df.index[[3, 4]])
df.drop(['row_1', 'row_2'])
df.drop('column_1', axis=1)
df[df.name != 'cell']
df.drop(df.index[2])
df = df[df["column_name"].isin([0, 1, 3, 4])]
# into isin we put the value we want to mantain
df.drop(['Cochice', 'Pima'])