Top "Duplicates" questions

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

How to persist @ManyToMany relation - duplicate entry or detached entity

I want to persist my entity with ManyToMany relation. But i have some problem during persisting process. My entities : @Entity @…

java jpa many-to-many unique-constraint duplicates
Entity Framework. View return duplicate records

I use Entity Framework that contains view. And I have query: var data = this.context.vwRevenues .Where(x => x.…

entity-framework duplicates
Duplicate each member in a list

I want to write a function that reads a list [1,5,3,6,...] and gives [1,1,5,5,3,3,6,6,...]. Any idea how to do it?

python list duplicates
How can I mark/highlight duplicate lines in VI editor?

How would you go about marking all of the lines in a buffer that are exact duplicates of other lines? …

vim duplicates
Pandas drop_duplicates method not working on dataframe containing lists

I am trying to use drop_duplicates method on my dataframe, but I am getting an error. See the following: …

python pandas list duplicates drop-duplicates
highlight duplicate Value in Open Office org Calc

I am using OPEN OFFICE ORG CALC. I can't use MSOFFICE How can i highlight Duplicate value in a Column ? …

duplicates openoffice.org openoffice-calc
How do I duplicate item when using jquery sortable?

I am using this method http://jqueryui.com/demos/sortable/#connect-lists to connect two lists that i have. I want …

jquery list drag-and-drop duplicates jquery-ui-sortable
How to delete duplicates, but keep the first instance and a blank cell for the duplicates in OpenOffice Calc?

If I have data like: A B C 111 asdews iujfhg 111 oikufjf jasddaf 112 eifjfjc olkdkj 112 eiejdj olokjjfki 112 ioeiurjf oleodks 113 oeiekdkd poldkkmd …

duplicates openoffice-calc
Removing elements that have consecutive duplicates

I was curios about the question: Eliminate consecutive duplicates of list elements, and how it should be implemented in Python. …

python list duplicates
pandas group by year, rank by sales column, in a dataframe with duplicate data

I would like to create a rank on year (so in year 2012, Manager B is 1. In 2011, Manager B is 1 again). …

python pandas duplicates pandas-groupby rank