Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas aggregate dataframe

#The .agg method allows you to aggregate the values of each column of the 
#dataframe based on a statistic you define.
df.agg(['mean', 'std'])
 
PREVIOUS NEXT
Tagged: #pandas #aggregate #dataframe
ADD COMMENT
Topic
Name
3+4 =