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

DataFrame Help

implode

Returns DataFrame where values in given columns are merged into lists grouped by other columns.

API reference: implode

implode(dropNA = false) [ { columns } ]

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

Parameters:

  • dropNA — if true, NA values are removed from the merged lists of value columns. Has no effect on imploded column groups and frame columns.

Reverse operation: explode

Imploded columns will change their types:

Imploded ColumnGroups will be converted into FrameColumns

df.implode { name and age and weight and isHappy }
02 November 2026