Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pivot table pandas

# Simplest pivot table must have a dataframe
# and an index/list of index.
table = pd.pivot_table(df, index =['A', 'B'])
  
table
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #pivot #table #pandas
ADD COMMENT
Topic
Name
8+8 =