About 13,600,000 results
Open links in new tab
  1. 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 have a function that will remove duplicate rows, however, I only want it to run if there are …

  2. python - How do I find the duplicates in a list and create another list ...

    Then because we have duplicates, in a list, we need to pick one of each duplicate, i.e. remove duplicate among duplicates, and to do so, we do call a python built-in named set (), and it removes the duplicates,

  3. How to find duplicate elements in array using for loop in Python?

    Dec 17, 2009 · 0 Find duplicates in the list using loops, conditional logic, logical operators, and list methods

  4. Finding duplicate rows in SQL Server - Stack Overflow

    Jan 22, 2010 · 100 You can run the following query and find the duplicates with max(id) and delete those rows.

  5. How do I get a list of all the duplicate items using pandas in python ...

    Jan 22, 2017 · df_bigdata_duplicates = df_bigdata[df_bigdata.duplicated(cols='ID')] There area a couple duplicate items. But, when I use the above code, I only get the first item. In the API reference, I see …

  6. Find duplicate lines in a file and count how many time each line was ...

    NOTE for anyone looking to get all duplicates: depending on your uniq version or platform, uniq -d might only output one copy per duplicated line. If you want all copies, look for options -D and/or --all-repeated.

  7. How do I find duplicate values in a table in Oracle?

    What's the simplest SQL statement that will return the duplicate values for a given column and the count of their occurrences in an Oracle database table? For example: I have a JOBS table with the

  8. python - Check for duplicate keys in a json file - Stack Overflow

    Feb 19, 2024 · Check for duplicate keys in a json file [duplicate] Asked 1 year, 10 months ago Modified 1 year, 10 months ago Viewed 1k times

  9. How to find duplicate records in PostgreSQL - Stack Overflow

    SELECT year, COUNT(id) FROM YOUR_TABLE GROUP BY year HAVING COUNT(id) > 1 ORDER BY COUNT(id); Using the sql statement above you get a table which contains all the duplicate years in …

  10. java - Detect duplicates in ArrayList - Stack Overflow

    1 To know the Duplicates in a List use the following code:It will give you the set which contains duplicates.