Open
Description
Currently, we can't do:
groupedDf
.take(10)
.concat()
to only concatenate the values of the first 10 groups. Instead, we'll have to convert to a normal DF first and convert back:
groupedDf
.toDataFrame().take(10).asGroupBy()
.concat()
The only row-based function that's available is filter(GroupedRowFilter)
which can allow you to write .filter { it.index() <= 10 }
but seems a bit odd.