python pandas - filter rows after groupby,"get_group_rows(df, 'A', 'B', 'median', '>')"