Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get list of unique values in pandas column

a = df['column name'].unique() #returns a list of unique values
 
PREVIOUS NEXT
Tagged: #list #unique #values #pandas #column
ADD COMMENT
Topic
Name
4+4 =