Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Pandas pivot table

>>> emp.pivot_table(index='dept', columns='gender',                     values='salary', aggfunc='mean').round(-3)
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #Pandas #pivot #table
ADD COMMENT
Topic
Name
5+7 =