MoveClause
An intermediate class used in the move operation.
This class itself does nothing—it is just a transitional step before specifying where to move the selected columns. It must be followed by one of the positioning methods to produce a new DataFrame with the updated column structure.
Use the following methods to finalize the move:
to– moves columns to a specific index.toStart– moves columns to the beginning.toEnd– moves columns to the end.into/intoIndexed– moves columns to a new position.toTop– moves columns to the top-level.after– places columns after a specific column.under– nests columns under a column group.
See Grammar for more details.
Properties
Functions
Moves columns, previously selected with move to a new position specified by columnIndex within the DataFrame.
Moves columns, previously selected with move to a new position specified by columnIndex. If insideGroup is true, selected columns will be moved remaining within their ColumnGroup, else they will be moved to the top level.
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).
If insideGroup is true, moves columns previously selected with move to the start of their ColumnGroup. Else, selected columns will be moved to the start of their DataFrame (to the top-level).
Moves columns, previously selected with move under a new or an existing column group specified by a column path within the DataFrame.