Dataframe 0.14 Help

implode

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

implode(dropNA = false) [ { columns } ]

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 }
Last modified: 27 September 2024