Skip to content

Commit ae2ee7a

Browse files
authored
Fix formatting and outdated example
1 parent 62f4e7d commit ae2ee7a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ plugins {
3434
repositories {
3535
mavenCentral()
3636
}
37+
3738
dependencies {
3839
implementation("org.jetbrains.kotlinx:dataframe:0.10.0")
3940
}
@@ -124,10 +125,10 @@ clean
124125
recentDelays.maxOrNull { delay1 and delay2 } into "major delay"
125126

126127
// separate lists of recent delays for `delay1`, `delay2` and `delay3`
127-
recentDelays.implode(dropNulls = true) into "recent delays"
128+
recentDelays.implode(dropNA = true) into "recent delays"
128129

129130
// total delay per destination
130-
pivot { destination }.sum { recentDelays.intCols() } into "total delays to"
131+
pivot { destination }.sum { recentDelays.colsOf<Int?>() } into "total delays to"
131132
}
132133
```
133134

0 commit comments

Comments
 (0)