liveBook · Manning

Data aggregation

Data aggregation is the combination of multiple values, records, observations, or results into a consolidated or summarized output.

How 19 Manning books explain it

The Well-Grounded Data Analyst

Aggregation combines records into summary values, often after grouping them by one or more categories.

How it is used
Summarizes event, customer, and traffic records into decision-ready product metrics, city spending, and time series.
How deep it goes
Works through grouping keys, sums, counts, distinct counts, validation, and metric-definition trade-offs rather than aggregation internals.
Examples
Uses customer spending by city, product purchase league tables, conversion tables, and traffic counts grouped into location time series.
What you can do after
Apply it via pandas to construct and check grouped summary tables for analytical questions.

Read how The Well-Grounded Data Analyst explains data aggregation →

Grokking AI Applications

Data aggregation is the process of combining multiple data records or values into summarized results.

How it is used
Prepares customer and transaction data as structured profiles for personalized email generation.
How deep it goes
Explains grouping granularity and aggregation methods within a visual workflow, without detailing aggregation algorithms.
Examples
Uses customer master data and transaction history to summarize spending and latest purchases for personalized emails.
What you can do after
Operate/configure a KNIME workflow that groups customer transactions into structured customer summaries.

Read how Grokking AI Applications explains data aggregation →

Graph Neural Networks in Action

An aggregation function combines multiple neighborhood messages or feature values into a single representation.

How it is used
Combines neighborhood information during GNN message passing to produce node representations for tasks such as product categorization.
How deep it goes
Works from mean, sum, and max through GCN normalization, GraphSAGE sampling, and PyG configuration, without a rigorous derivation.
Examples
Compares mean, sum, max, per-layer, and list aggregations using GraphSAGE classification F1 scores and log losses.
What you can do after
Apply it via PyTorch Geometric SAGEConv, then evaluate aggregation choices against task metrics and scalability constraints.

Read how Graph Neural Networks in Action explains data aggregation →

DuckDB in Action

Aggregation is the computation of summary values such as counts, sums, minimums, maximums, or averages over a relation or group of rows.

How it is used
Uses summaries to analyze large datasets, assess data quality, and filter grouped results.
How deep it goes
Explains grouped and column-wide aggregates, post-aggregation filtering, metadata summaries, and multi-column expressions without deeper implementation internals.
Examples
Demonstrates daily energy totals, NYC taxi distance statistics, null percentages, and aggregate operations across selected columns.
What you can do after
Evaluate data quality and summarize grouped or wide datasets with DuckDB SQL.

Read how DuckDB in Action explains data aggregation →

Graph Algorithms for Data Science

An aggregation is a query operation that combines values from multiple rows into summarized results.

How it is used
Summarizes graph data and graph patterns with Cypher counts for exploratory analysis.
How deep it goes
Explains count variants, null handling, percentages, grouping, and cardinality control, without detailing aggregation algorithms.
Examples
Uses User registration dates, node labels, relationship types, mentioned users, tweets, and hashtag-network components.
What you can do after
Apply it via Cypher to count graph data, measure missing values, and prevent misleading sequential-query totals.

Read how Graph Algorithms for Data Science explains data aggregation →

First-Party Data Activation

The combination of individual data records into summarized values that expose less detail about specific individuals.

How it is used
Supports marketing analysis and partner reporting while reducing exposure of individual records.
How deep it goes
Defines summarization and traces its place in a high-level clean-room workflow, without detailing aggregation algorithms.
Examples
Uses visitor counts, average dwell time, customer age brackets, and aggregated clean-room audience or performance reports.
What you can do after
Apply it via a data clean room to deliver audience segments or campaign analytics without exposing raw consumer data.

Read how First-Party Data Activation explains data aggregation →

Effective Data Analysis

Aggregation is the process of combining multiple observations into summary values over groups or time periods.

How it is used
Supports stakeholder reporting by converting detailed observations into interpretable summaries at useful time granularities.
How deep it goes
Explains sums, means, medians, and period selection with a pandas workflow, while stopping short of advanced statistical aggregation.
Examples
Uses New York City rat sightings, monthly time-series plots, and customer metrics requiring carefully chosen aggregation periods.
What you can do after
Apply it via pandas to group time-indexed observations and compare summary statistics for clearer reporting.

Read how Effective Data Analysis explains data aggregation →

Kafka Streams in Action, Second Edition

aggregate is a Kafka Streams grouped-stream or grouped-table operation that computes a result by initializing and incrementally updating an aggregate.

How it is used
Builds stateful Kafka Streams applications that turn keyed event records into continuously updated summaries.
How deep it goes
Walks through grouping, initialization, custom aggregators, materialization, KTable update handling, and windowing motivation; defers case-specific aggregator logic.
Examples
Uses widget counting, stock transaction and market-segment summaries, and IoT temperature threshold monitoring.
What you can do after
Build it from scratch with grouped Kafka Streams topologies, initializers, aggregators, materialized results, and output topics.

Read how Kafka Streams in Action, Second Edition explains data aggregation →

Starting Data Analytics with Generative AI and Python

Aggregation is the process of combining detailed records or categories into summarized groups or values.

How it is used
Reduces oversized review visualizations into stakeholder-relevant summaries for concise analytical presentations.
How deep it goes
Demonstrates grouped counts, score recoding, and category mapping, but stops short of defining a formal product ontology.
Examples
Uses review-score categories, product-category groups, grouped bar charts, and merged DataFrames as working examples.
What you can do after
Apply it via Python DataFrames and seaborn to produce more readable review summaries and inspect their limitations.

Read how Starting Data Analytics with Generative AI and Python explains data aggregation →

Learn SQL in a Month of Lunches

Aggregation is the SQL operation of combining or summarizing data values to produce grouped or otherwise consolidated results.

How it is used
Analyzes business data by dividing rows into groups and filtering summarized results.
How deep it goes
Explains GROUP BY, NULL handling, HAVING, joins, counts, clause order, and alias portability through practical queries.
Examples
Demonstrates order counts by PromotionID, promotion-code counts, NULL groups, INNER JOIN results, and a three-use HAVING threshold.
What you can do after
Builds grouped SQL queries that count records, preserve NULL groups, and filter aggregated results with HAVING.

Read how Learn SQL in a Month of Lunches explains data aggregation →

Apache Kafka in Action

A metric aggregation combines metric observations over a time period or other grouping to produce a summarized value.

How it is used
Maintains per-key current state from event streams and helps turn fluctuating metrics into useful alert inputs.
How deep it goes
Works through initial states, adders, stored results, and recovery; advises on metric smoothing without prescribing a particular time-window calculation.
Examples
Uses account balances, per-key counts and sums, active-device lists joined to notifications, and CPU-utilization spikes.
What you can do after
Apply it via Kafka Streams aggregate() or Flink SQL GROUP BY to maintain per-user results for a notification join.

Read how Apache Kafka in Action explains data aggregation →

Digital Twins in Action

An aggregate is a summary value computed from multiple data records, such as an average, minimum, or maximum.

How it is used
Supports responsive digital-twin dashboards, historical trend analysis, and timely summaries of streaming sensor data.
How deep it goes
Explains time-window summaries, stored resolutions, and sliding windows, with a Spark grouping example rather than aggregation internals.
Examples
Uses daily temperature summaries, a sliding temperature average, train-movement rates, and weekly power-consumption totals.
What you can do after
Apply it via Apache Spark to produce weekly consumption and cost totals, or choose time-window summaries for responsive charts.

Read how Digital Twins in Action explains data aggregation →

Outlier Detection in Python

Aggregation is the process of combining multiple observations into summary values according to specified grouping dimensions and time intervals.

How it is used
Supports comparison of entities, periods, and time-series behavior by converting event records into structured summaries.
How deep it goes
Provides implementation patterns and interpretation cautions, but stops short of a general theory of aggregation.
Examples
Uses daily purchase summaries, day-of-month comparisons, and daily sales-versus-purchases time series.
What you can do after
Apply it via pandas groupby and resample to build grouped tables and regular daily time series.

Read how Outlier Detection in Python explains data aggregation →

Data for All

Data aggregation is the collection and combination of data into a consolidated representation, often to reveal patterns or increase value.

How it is used
Uses combined data to reveal patterns, guide analytics, improve decisions, and support personalization or messaging.
How deep it goes
Explains roll-ups, dimensions, lineage, and multi-source integration, but stops short of technical implementation.
Examples
Uses geographic roll-ups, facility site selection, business reporting, and college dropout-risk analysis as concrete examples.
What you can do after
Evaluate/understand how combining data supports pattern discovery, reporting, decisions, interventions, and collective data choices.

Read how Data for All explains data aggregation →

Data Analysis with LLMs

An aggregate function computes a summary value from multiple rows or matched records in a query result.

How it is used
Summarizes query data by counting rows or calculating values such as average earnings per publisher.
How deep it goes
Defines row counts and publisher averages, while stopping short of a full SQL introduction.
Examples
Uses game-sales averages by publisher and a count of movies featuring Tom Cruise.
What you can do after
Evaluate aggregate queries that count matching records or calculate averages across records.

Read how Data Analysis with LLMs explains data aggregation →

Everyday Data Visualization

Aggregation is the process of combining multiple data values into summarized results such as totals, counts, or maximums.

How it is used
Uses aggregation to turn tabular rows into summaries for analysis and visualization.
How deep it goes
Explains table grain, granularity changes, and practical risks but stops short of showing SQL aggregation syntax.
Examples
Uses banking transactions, daily spending summaries, account snapshots, and fruit taste records as aggregation examples.
What you can do after
Apply it via SQL or a BI tool to summarize tabular data while preserving awareness of its grain.

Read how Everyday Data Visualization explains data aggregation →

Delivering Machine Learning Projects: From design to deployment

Aggregation is the combination of individual data values into summarized groups or totals.

How it is used
Combines distributed data and comparable test results to support exploration, model training, evaluation, selection, and reproducible delivery.
How deep it goes
Explains aggregation through pipeline consolidation and mean-standard-deviation comparisons, without detailing implementation algorithms.
Examples
Uses 40-country model results, means, standard deviations, and consolidated tables or streams as concrete aggregation artifacts.
What you can do after
Apply aggregation to produce pipeline-ready datasets and compare models using summarized performance across comparable tests.

Read how Delivering Machine Learning Projects: From design to deployment explains data aggregation →

The Art of AI Product Development

Data aggregation is the process of combining data from multiple sources or records into summarized or unified forms.

How it is used
Supports user segmentation by converting granular behavior events into model-ready user-level features.
How deep it goes
Explains the transformation rationale and names representative metrics, but stops short of implementation details.
Examples
Uses purchases, purchase value, recommendation clicks, visits, last activity, and checkout frequency as aggregated features.
What you can do after
Apply it by consolidating events into informative user-level measures for clustering and segmentation.

Read how The Art of AI Product Development explains data aggregation →

Machine Learning System Design

The process of combining records into summarized groups according to selected dimensions and time periods.

How it is used
Deploys daily summaries as an ETL stage before joining data and calculating forecasting features.
How deep it goes
Explains partition updates, optional backfills, quality checks, and joins, but does not specify aggregation formulas.
Examples
Uses daily retail transactions combined with stock, promotions, weather, product, store, and competitor-price records.
What you can do after
Operate a daily aggregation pipeline with validation, corrective rewrites, source joins, and feature calculation.

Read how Machine Learning System Design explains data aggregation →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.