Answers for "remove duplicated data.table"

8

remove duplicate row in df

df = df.drop_duplicates()
Posted by: Guest on August-19-2020
0

delete duplicate rows

WITH CTE AS(
   SELECT [col1], [col2], [col3], [col4], [col5], [col6], [col7],
       RN = ROW_NUMBER()OVER(PARTITION BY col1 ORDER BY col1)
   FROM dbo.Table1
)
DELETE FROM CTE WHERE RN > 1
Posted by: Guest on June-10-2021

Code answers related to "remove duplicated data.table"

Python Answers by Framework

Browse Popular Code Answers by Language