Remove duplicates in data.frame (data.table)
remove_duplicates(df, col_names = names(df))
df | data.frame (data.table) to be checked for duplicates |
---|---|
col_names | column names to be used for duplicate checking (default: names(df)). can be defined by providing: c("col_name1", "col_name2") |
data.frame (data.table) without duplicates