df = df.drop(df[df.score < 50].index)
df = df.drop(df[(df.score < 50) & (df.score > 20)].index)
a_dataframe.drop(a_dataframe[a_dataframe.B > 3].index, inplace=True)