[//]: # (title: Select columns)
Two ways to create [`DataFrame`](DataFrame.md) with a subset of columns:
**selecting:**
```kotlin
df.select { age and weight }
```
```kotlin
df.select { "age" and "weight" }
df.select("age", "weight")
```
**Related operations**: [remove](remove.md)
See [column selectors](ColumnSelectors.md)
**indexing:**
```kotlin
df["age", "weight"]
```
See [DataFrame indexing](indexing.md)