Top "Unique" questions

Refers to an element that is distinctly different from any other element in a collection.

How to assign a unique ID number to each group of identical values in a column

I have a data frame with a number of columns. I would like to create a new column called “id” …

r dataframe unique
How to filter for unique combination of columns from an R dataframe

I am trying to filter out the duplicates of a subset of columns from a dataframe in R. I am …

r filtering unique
How to get a list of all Subversion commit author usernames?

I'm looking for an efficient way to get the list of unique commit authors for an SVN repository as a …

svn metadata unique commit username
Is it safe to assume a GUID will always be unique?

I know there is a minute possibility of a clash but if I generated a batch of 1000 GUIDs (for example), …

math unique guid probability collision
In TreeSet, Sorting & Uniqueness of custom objects based on different properties

Below is my Student class class Student implements Comparable { String name; int rollNo; @Override public int compareTo(Object obj) { return ((…

java sorting collections treeset unique
Pushing unique data into vector

I have the following data: FolioA Name1 100 FolioA Name2 110 FolioA Name3 100 FolioB Name1 100 FolioB Name3 106 FolioC Name1 108 FolioC Name2 102 FolioC …

c++ insert unique stdvector
Underscore.js find unique values in array of objects; Return unique items and their count

I am using _underscore.js to find all unique items in an array, but I can't figure out how to …

javascript underscore.js unique
How to make elements of vector unique? (remove non adjacent duplicates)

I have a vector containing few non-adjacent duplicates. As a simple example, consider: 2 1 6 1 4 6 2 1 1 I am trying to make this vector …

c++ stl vector unique
How to display unique records from a has_many through relationship?

I'm wondering what is the best way to display unique records from a has_many, through relationship in Rails3. I …

ruby-on-rails unique distinct ruby-on-rails-3
Laravel check for unique rule without itself in update

I am having my validation rules for unique in the update section. In inserting or adding the unique rule is …

php laravel unique rule laravel-validation