Group and count
Groups rows with the same values into summary rows that contain the grouping fields and the number of grouped rows.
Inputs
-
Data — Tensor
2D tensor (a table) to group and count.
-
Grouping column(s) — List of Integer
Index(es) of the column(s) used for grouping.
Outputs
-
Result — Tensor
Resulting table with the summary rows, the grouping columns and an extra column indicating the number of grouped rows.