Top "Unique" questions

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

Javascript array sort and unique

I have a JavaScript array like this: var myData=['237','124','255','124','366','255…

javascript arrays sorting unique
.NET unique object identifier

Is there a way of getting a unique identifier of an instance? GetHashCode() is the same for the two references …

c# unique hashcode gethashcode
Unique on a dataframe with only selected columns

I have a dataframe with >100 columns, and I would to find the unique rows, by comparing only two of …

r unique
Select unique values with 'select' function in 'dplyr' library

Is it possible to select all unique values from a column of a data.frame using select function in dplyr …

r select unique dplyr
Find unique rows in numpy.array

I need to find unique rows in a numpy.array. For example: >>> a # I have array([[1, 1, 1, 0, 0, 0], [0, 1, 1, 1, 0, 0], [0, 1, 1, 1, 0, 0], [1, 1, 1, 0, 0, 0], [1, 1, 1, 1, 1, 0]]) >&…

python arrays numpy unique
Can I use VARCHAR as the PRIMARY KEY?

I have a table for storing coupons/discounts, and I want to use the coupon_code column as the primary …

mysql sql primary-key unique varchar
Python: How to create a unique file name?

I have a python web form with two options - File upload and textarea. I need to take the values …

python file unique
In Postgresql, force unique on combination of two columns

I would like to set up a table in PostgreSQL such that two columns together must be unique. There can …

sql postgresql unique
How to create a unique index on a NULL column?

I am using SQL Server 2005. I want to constrain the values in a column to be unique, while allowing NULLS. …

sql sql-server indexing constraints unique
Merge multiple Excel workbooks based on key column

I get seven workbooks (xlsx files) from different clients, each with one sheet. Each sheet has at least one common …

excel primary-key unique vlookup