Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Pandas groupby

>>> emp.groupby(['dept', 'gender']).agg({'salary':'mean'}).round(-3)
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #Pandas #groupby
ADD COMMENT
Topic
Name
6+5 =