@@ -26,14 +26,10 @@ import org.jetbrains.kotlinx.dataframe.api.toColumn
2626import org.jetbrains.kotlinx.dataframe.api.toColumnOf
2727import org.jetbrains.kotlinx.dataframe.api.toDataFrame
2828import org.jetbrains.kotlinx.dataframe.api.value
29- import org.jetbrains.kotlinx.dataframe.columns.ColumnKind
3029import org.jetbrains.kotlinx.dataframe.explainer.TransformDataFrameExpressions
31- import org.jetbrains.kotlinx.dataframe.kind
32- import org.jetbrains.kotlinx.dataframe.type
3330import org.junit.Test
3431import java.io.File
3532import kotlin.random.Random as KotlinRandom
36- import kotlin.reflect.typeOf
3733
3834class Create : TestBase () {
3935
@@ -419,11 +415,6 @@ class Create : TestBase() {
419415
420416 val df = students.toDataFrame(maxDepth = 1 )
421417 // SampleEnd
422- df.columnsCount() shouldBe 3
423- df.rowsCount() shouldBe 2
424- df[" name" ].kind shouldBe ColumnKind .Group
425- df[" name" ][" firstName" ].type() shouldBe typeOf<String >()
426- df[" scores" ].kind shouldBe ColumnKind .Frame
427418 }
428419
429420 @Test
@@ -458,12 +449,6 @@ class Create : TestBase() {
458449 }
459450 }
460451 // SampleEnd
461- df.columnsCount() shouldBe 5
462- df.rowsCount() shouldBe 2
463- df[" name" ].kind shouldBe ColumnKind .Value
464- df[" name" ].type shouldBe typeOf<Name >()
465- df[" scores" ].kind shouldBe ColumnKind .Frame
466- df[" summary" ][" min score" ].values() shouldBe listOf (3 , 5 )
467452 }
468453
469454 @Test
0 commit comments