# Pivot / gather columns

> For the complete documentation index, see [llms.txt](https://kotlin.github.io/dataframe/llms.txt).

* [pivot](pivot.html) — transforms column values into new columns (long to wide)

* [gather](gather.html) — collects values from several columns into two `key` and `value` columns (wide to long)

