File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed 
core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import org.jetbrains.kotlinx.dataframe.api.prev
1010import  org.jetbrains.kotlinx.dataframe.api.update 
1111import  org.jetbrains.kotlinx.dataframe.api.where 
1212import  org.jetbrains.kotlinx.dataframe.api.with 
13- import  org.jetbrains.kotlinx.dataframe.api.withValue 
1413import  org.jetbrains.kotlinx.dataframe.explainer.TransformDataFrameExpressions 
1514import  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}
                                 You can’t perform that action at this time. 
               
                  
0 commit comments