DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+2 =
Submit