implode
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— iftrue, removesNAvalues 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 }
24 October 2025