toEnd

fun <T, C> MoveClause<T, C>.toEnd(): DataFrame<T>

Moves columns, previously selected with move to the DataFrame end.

Returns a new DataFrame with updated columns.

For more information: See move on the documentation website.

Examples:

df.move { age and weight }.toEnd()
df.move { colsOf<String>() }.toEnd()
df.move("age", "weight").toEnd()

fun <T, C> MoveClause<T, C>.toEnd(insideGroup: Boolean): DataFrame<T>

If insideGroup is true, moves columns previously selected with move to the end of their ColumnGroup. Else, selected columns will be moved to the end of their DataFrame (to the top-level).

Returns a new DataFrame with updated columns.

For more information: See move on the documentation website.

Examples:

df.move { age and weight }.toEnd(true)
df.move { colsOf<String>() }.toEnd(true)
df.move("age", "weight").toEnd(false)

Parameters

insideGroup

If true, selected columns will be moved to the end remaining inside their group, else they will be moved to the end on top level.