[//]: # (title: Get rows)
Get single [`DataRow`](DataRow.md) by [index](indexing.md):
```kotlin
df[2]
```
Get single [`DataRow`](DataRow.md) by [row condition](DataRow.md#row-conditions):
```kotlin
df.single { age == 45 }
df.first { weight != null }
df.minBy { age }
df.maxBy { name.firstName.length }
df.maxByOrNull { weight }
```
```kotlin
df.single { "age"() == 45 }
df.first { it["weight"] != null }
df.minBy("weight")
df.maxBy { "name"["firstName"]().length }
df.maxByOrNull("weight")
```