group
Group columns into ColumnsGroups
.
group { columns }
.into(groupName) | .into { groupNameExpression }
groupNameExpression = DataColumn.(DataColumn) -> String
Reverse operation: ungroup
It is a special case of move
operation.
df.group { age and city }.into("info")
df.group { all() }.into { it.type().toString() }.print()
Last modified: 27 September 2024