# shuffle
Discover `shuffle` operation in Kotlin Dataframe.
Discover `shuffle` operation in Kotlin Dataframe.
Discover `shuffle` operation in Kotlin Dataframe.
Returns a new [`DataFrame`](DataFrame.md) with rows in random order.
You can supply a [kotlin.random.Random](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.random/-random/)
instance with a fixed seed for reproducible results.
```Kotlin
df.shuffle()
df.shuffle(random: Random)
```
### Examples
```kotlin
df
```
Deterministic shuffle using a fixed seed:
```kotlin
df.shuffle(Random(42))
```