For this example, we’ll use a portion of the countrypops dataset to create a simple gt table. Let’s move the year column, which is the middle column, to the start of the column series with cols_move_to_start().
We can also move multiple columns at a time. With the same countrypops-based table, let’s move both the year and population columns to the start of the column series.