Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

counting unique values python

df.loc[df['mID']=='A','hID'].agg(['nunique','count','size'])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #counting #unique #values #python
ADD COMMENT
Topic
Name
2+9 =