Skip to content

Commit 8861f89

Browse files
committed
Fix table display for remaining toDataFrame examples
1 parent 27264bc commit 8861f89

File tree

5 files changed

+1178
-11
lines changed

5 files changed

+1178
-11
lines changed

core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -419,11 +419,6 @@ class Create : TestBase() {
419419

420420
val df = students.toDataFrame(maxDepth = 1)
421421
// 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
427422
}
428423

429424
@Test
@@ -458,12 +453,6 @@ class Create : TestBase() {
458453
}
459454
}
460455
// 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)
467456
}
468457

469458
@Test

0 commit comments

Comments
 (0)