DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python - count how many unique in a column
df['var_1'].nunique() # How many unque values are present in a variable
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#count
#unique
#column
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit