• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests
July 07, 2022 |7.7K Views
Pandas dataframe.aggregate()
Description
Discussion

Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric Python packages. Pandas is one of those packages and makes importing and analyzing data much easier.

Dataframe.aggregate() function is used to apply some aggregation across one or more column. Aggregate using callable, string, dict, or list of string/callables. Most frequently used aggregations are:

sum: Return the sum of the values for the requested axis
min: Return the minimum of the values for the requested axis
max: Return the maximum of the values for the requested axis


Pandas dataframe.aggregate() : https://www.geeksforgeeks.org/python-pandas-dataframe-aggregate/