move_columns_down
The move_columns_down method creates a new table with specified columns appearing last in order, to the far right.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| cols | Union[str, Sequence[str]] | Columns to move to the right side of the new table. |
Returns
A new table with specified columns appearing last in order (furthest to the right).
Examples
The following example moves column B to the last position in the resulting table.
The following example moves columns B and D to the last positions in the resulting table.