Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas count distinct

df.groupby('column1').column2.nunique()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #count #distinct
ADD COMMENT
Topic
Name
7+4 =