[G, TID] =
findgroups (obj)
¶Find groups within a table’s row values.
Finds groups within a table’s row values and get group numbers. A group is a set of rows that have the same values in all their variable elements.
Returns: G - A double column vector of group numbers created from obj. TID - A table containing the row values corresponding to the group numbers.