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 distinct elements in specified axis
DataFrame.nunique(axis=0, dropna=True) # Counts number of distinct elements in specified axis
Source by pandas.pydata.org #
PREVIOUS
NEXT
Tagged:
#How
#count
#number
#distinct
#elements
#axis
ADD COMMENT
Topic
COMMENT
Name
4+8 =
Submit