DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+5 =
Submit