Skip to content

Commit b70824e

Browse files
committed
updated from master
1 parent 54498a8 commit b70824e

File tree

1 file changed

+2
-3
lines changed
  • core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api

1 file changed

+2
-3
lines changed

core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/DataRowApi.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import org.jetbrains.kotlinx.dataframe.api.prev
1010
import org.jetbrains.kotlinx.dataframe.api.update
1111
import org.jetbrains.kotlinx.dataframe.api.where
1212
import org.jetbrains.kotlinx.dataframe.api.with
13-
import org.jetbrains.kotlinx.dataframe.api.withValue
1413
import org.jetbrains.kotlinx.dataframe.explainer.TransformDataFrameExpressions
1514
import org.junit.Test
1615

@@ -38,11 +37,11 @@ class DataRowApi : TestBase() {
3837
// Row condition is used to filter rows by index
3938
df.filter { index() % 5 == 0 }
4039

41-
// Row condition is used to drop rows where `age` is the same as in previous row
40+
// Row condition is used to drop rows where `age` is the same as in the previous row
4241
df.drop { diffOrNull { age } == 0 }
4342

4443
// Row condition is used to filter rows for value update
45-
df.update { weight }.where { index() > 4 && city != "Paris" }.withValue(50)
44+
df.update { weight }.where { index() > 4 && city != "Paris" }.with { 50 }
4645
// SampleEnd
4746
}
4847
}

0 commit comments

Comments
 (0)