July 07, 2022 |15.2K 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/