How to return only the rows with a unique value in a particular col (data frame)?

前端 未结 0 1184
青春惊慌失措
青春惊慌失措 2020-12-08 10:04

I am trying to create a dataset just with the rows that have a unique value in the ID col. When I run this code:

newdf <- distinct(mydataframe$ID, .keep_al         


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