Skip to content

Commit e760bf2

Browse files
Automated commit of generated code
1 parent fbe7a30 commit e760bf2

File tree

1 file changed

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

1 file changed

+6
-7
lines changed

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)