🌈 搜索
📅  最后修改于: 2022-03-11 14:45:14.284000             🧑  作者: Mango
max_repeat = 10 vc = df[col_name].value_counts() df = df[df[col_name].isin(vc[vc < max_repeat].index)]