File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -536,9 +536,7 @@ class Modify : TestBase() {
536536 @TransformDataFrameExpressions
537537 fun splitRegex1 () {
538538 // SampleStart
539- val name by column<String >()
540-
541- merged.split { name }
539+ merged.split { " name" <String >() }
542540 .match(""" (.*) \((.*)\)""" )
543541 .inward(" firstName" , " lastName" )
544542 // SampleEnd
@@ -557,11 +555,12 @@ class Modify : TestBase() {
557555 7 , 8 ,
558556 9 , 10 ,
559557 )
560- val group by columnOf(df1, df2)
561- val id by columnOf(" x" , " y" )
562- val df = dataFrameOf(id, group)
558+ val df = dataFrameOf(
559+ " id" to columnOf(" x" , " y" ),
560+ " group" to columnOf(df1, df2)
561+ )
563562
564- df.split { group }.intoColumns()
563+ df.split { " group" < AnyFrame >() }.intoColumns()
565564 // SampleEnd
566565 }
567566
You can’t perform that action at this time.
0 commit comments