Files
2026-02-08 11:20:43 -10:00

926 B
Vendored

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

implode(dropNA = false) [ { columns } ]

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

Parameters:

  • dropNA — if true, removes NA values from merged lists.

Reverse operation: explode

Imploded columns will change their types:

Imploded ColumnGroup will convert into FrameColumn

df.implode { name and age and weight and isHappy }