Lecture 10
Groups
DATA 8
Spring 2022
Announcements
Prediction
(Demo)
Prediction Accuracy
(Demo)
Discussion Questions
Grouping
Grouping by One Column
The group method aggregates all rows with the same value for a column into a single row in the resulting table.
(Demo)
Lists
Lists are Generic Sequences
A list is a sequence of values (just like an array), � but the values can have different types
[2+3, 'four', Table().with_column('K', [3, 4])]
(Demo)
Cross-Classification
(Demo)