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