Отбросить строку с условиями dataframe

a_dataframe.drop(a_dataframe[a_dataframe.B > 3].index, inplace=True)
Eager Elk