datascience.tables.Table.group¶
-
Table.
group
(column_or_label, collect=None)[source]¶ Group rows by unique values in a column; count or aggregate others.
column_or_label – values to group (label, index, or column) collect – a function applied to values in other columns for each group
The grouped column will appear first in the result table. If no collect function is provided, only counts are shown.