I have a dataframe:
I only want rows with values less than 6 for example.
I enter:
dists_df.all(axis=1) < 6
and I get Tr