Answers for "return list of unique values python"

1

get list of unique values in pandas column

a = df['column name'].unique() #returns a list of unique values
Posted by: Guest on March-29-2021
11

python list with only unique values

my_list = list(set(my_list))
Posted by: Guest on May-05-2020

Code answers related to "return list of unique values python"

Python Answers by Framework

Browse Popular Code Answers by Language