DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to count number of unique values in a column python
pd.value_counts(df.Account_Type) Gold 3 Platinum 1 Name: Account_Type, dtype: int64
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#count
#number
#unique
#values
#column
#python
ADD COMMENT
Topic
COMMENT
Name
9+4 =
Submit