Warunkowy wiersz Usuń pandy
df = df.drop(df[df.score < 50].index)
Anxious Angelfish
df = df.drop(df[df.score < 50].index)
df = df.drop(df[(df.score < 50) & (df.score > 20)].index)
# drop constant valued columns from a pandas df
t_df = t_df.drop(t_df.columns[t_df.nunique() == 1],axis=1)