krangl / krangl / unnest

unnest

fun DataFrame.unnest(columnName: String): DataFrame

If you have a list-column, this makes each element of the list its own row. It unfolds data vertically. unnest() can handle list-columns that can atomic vectors, lists, or data frames (but not a mixture of the different types).

To unfold properties of objects (that is unfolding data horizontally), use unfold()