Dataframe 0.15 Help

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: 09 December 2024