- craftutils.wrap.dragons.Table.Column.group_by(keys)
Group this column by the specified
keysThis effectively splits the column into groups which correspond to unique values of the
keysgrouping object. The output is a new Column or MaskedColumn which contains a copy of this column but sorted by row according tokeys.The
keysinput togroup_bymust be a numpy array with the same length as this column.Parameters¶
- keysnumpy array
Key grouping object
Returns¶
- outColumn
New column with groups attribute set accordingly