Top "Duplicates" questions

The "duplicates" tag concerns detecting and/or dealing with multiple instances of items in collections.

how to prevent adding duplicate keys to a javascript array

I found a lot of related questions with answers talking about for...in loops and using hasOwnProperty but nothing I …

javascript jquery arrays duplicates key-value
php: check if an array has duplicates

I'm sure this is an extremely obvious question, and that there's a function that does exactly this, but I can't …

php arrays duplicates
Integrity constraint violation: 1062 Duplicate entry '1' for key 'PRIMARY'

I have a databse problem where i get Integrity constraint violation: 1062. I tried some things on my own but it …

mysql duplicates mysql-error-1062
Remove duplicates from dataframe, based on two columns A,B, keeping row with max value in another column C

I have a pandas dataframe which contains duplicates values according to two columns (A and B): A B C 1 2 1 1 2 4 2 7 1 3 4 0 3 4 8 I …

python pandas dataframe duplicates
Delete duplicate records in SQL Server?

Consider a column named EmployeeName table Employee. The goal is to delete repeated records, based on the EmployeeName field. EmployeeName …

sql tsql duplicates delete-row
TypeError: unhashable type: 'list' when using built-in set function

I have a list containing multiple lists as its elements eg: [[1,2,3,4],[4,5,6,7]] If I use the built in set function to …

python list duplicates
Regular Expression For Duplicate Words

I'm a regular expression newbie, and I can't quite figure out how to write a single regular expression that would "…

regex duplicates capture-group
Find indices of duplicated rows

Function duplicated in R performs duplicate row search. If we want to remove the duplicates, we need just to write …

r duplicates dataframe
Check for duplicate values in Pandas dataframe column

Is there a way in pandas to check if a dataframe column has duplicate values, without actually dropping rows? I …

python pandas dataframe duplicates
How to find duplicates in 2 columns not 1

I have a MySQL database table with two columns that interest me. Individually they can each have duplicates, but they …

mysql duplicates