llms.txt: machine-readable documentation index. Markdown version of this page is also available.

DataFrame 1.0 Help

group

Group columns into ColumnGroups.

API reference: group

group { columns } .into(groupName) | .into { groupNameExpression } groupNameExpression = DataColumn.(DataColumn) -> String

Reverse operation: ungroup, flatten

It is a special case of move operation.

See column selectors for how to select the columns for this operation.

df.group { age and city }.into("info") df.group { all() }.into { it.type().toString() }.print()
30 October 2026