# toMap

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

Converts [DataFrame](dataframe.html) into `Map<String, List<*>>` from column names to column values.

API reference: [toMap](https://kotlin.github.io/dataframe/api-docs/core/org.jetbrains.kotlinx.dataframe.api/to-map.html)

```
toMap()
```

