df_count = pd.Series(list_ybr).value_counts() # 获取每个元素出现的次数 r2 = list(df_count[df_count >= 6].index)