Grouping of the variables having more than 1000 categories

前端 未结 0 342
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-24 10:28

There are more than 60000 categories in one of the variables of a data frame. I want to group the categories as \'OTHERS\' where the value count is less than 1000. How to do

相关标签:
回答
  • 消灭零回复
提交回复
热议问题