File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed
core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -200,15 +200,7 @@ class Access : TestBase() {
200200
201201 @Test
202202 @TransformDataFrameExpressions
203- fun getColumnsByName_properties () {
204- // SampleStart
205- df[df.age, df.weight]
206- // SampleEnd
207- }
208-
209- @Test
210- @TransformDataFrameExpressions
211- fun getColumnsByName_strings () {
203+ fun getColumnsByName () {
212204 // SampleStart
213205 df[" age" , " weight" ]
214206 // SampleEnd
Original file line number Diff line number Diff line change @@ -289,12 +289,11 @@ class Create : TestBase() {
289289 @TransformDataFrameExpressions
290290 fun createDataFrameFromColumns () {
291291 // SampleStart
292-
293- val name by columnOf(" Alice" , " Bob" , " Charlie" )
294- val age by columnOf(15 , 20 , 22 )
295-
296292 // DataFrame with 2 columns
297- val df = dataFrameOf(name, age)
293+ val df = dataFrameOf(
294+ " name" to columnOf(" Alice" , " Bob" , " Charlie" ),
295+ " age" to columnOf(15 , 20 , 22 )
296+ )
298297 // SampleEnd
299298 }
300299
You can’t perform that action at this time.
0 commit comments