Top "Distinct-values" questions

Use this tag for questions related to Distinct Values, i.e. values that are distinct/unique from the values in a collection.

Java 8 Distinct by property

In Java 8 how can I filter a collection using the Stream API by checking the distinctness of a property of …

java collections java-8 java-stream distinct-values
How to maintain a Unique List in Java?

How to create a list of unique/distinct objects (no duplicates) in Java? Right now I am using HashMap<…

java list distinct-values
List distinct values in a vector in R

How can I list the distinct values in a vector where the values are replicative? I mean, similarly to the …

r vector distinct-values r-faq
Counting unique / distinct values by group in a data frame

Let's say I have the following data frame: > myvec name order_no 1 Amy 12 2 Jack 14 3 Jack 16 4 Dave 11 5 Amy 12 6 Jack 16 7 Tom 19 8 …

r dataframe distinct-values r-faq
Spark DataFrame: count distinct values of every column

The question is pretty much in the title: Is there an efficient way to count the distinct values in every …

apache-spark apache-spark-sql distinct-values
select distinct items from a column in powershell

If I issue following command in PowerShell, I get a lot of rows back. PS C:\Users\benh> get-command …

powershell distinct-values
Selecting distinct 2 columns combination in mysql

I have a mysql table that looks like this: 1 value1 value2 3534 2 value1 value1 8456 3 value1 value2 3566 4 value1 value3 7345 5 value2 value3 6734 I …

mysql sql database distinct distinct-values
Trying to sum distinct values SQL

I'm having trouble coming up with a value for a cell in SSRS, which should be a sum of distinct …

sql reporting-services distinct-values
Getting a distinct value across 2 union sql server tables

I'm trying to get all distinct values across 2 tables using a union. The idea is to get a count of …

sql union distinct distinct-values
Get distinct list between two lists in C#

I have two lists of strings. How do I get the list of distinct values between them or remove the …

c# list distinct-values set-difference