Question: Randomly pick rows based on the number of other elements with data.table?

前端 未结 0 1593
你的背包
你的背包 2021-01-28 12:29

I have a dataset as following in data.table.

Would like to compare the value and select the rows based on the number of least elements.

Please find the toy sample

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