Python Filter Dataframe By Row Value In Statistics