6 Aggregating Data
To get the most decision-making value out of your data, you’ll often need to generate aggregations of the data. Aggregation is a process of collecting data so that it can be presented in summary form, grouped by subtotals, totals, averages, or other statistics. This chapter explores aggregation techniques built into pandas and discusses how you can use them to analyze your data.
Aggregation is an efficient way to get a big-picture overview of a large dataset, allowing you to answer questions about the values in the data. For example, a large retail business might want to determine product performance based on brand or ...
Get Python for Data Science now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.