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