Skip to content

Commit 19baaba

Browse files
Automated commit of generated code
1 parent a2283ca commit 19baaba

File tree

1 file changed

+5
-3
lines changed
  • core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/api

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,10 @@ class StatisticsTests {
148148
"city",
149149
"name",
150150
"age",
151+
"weight",
151152
"height",
152153
"yearsToRetirement",
153-
) // TODO: why double values from weight are not in the list? are they not Comparable?
154+
)
154155

155156
val median01 = res0["age"][0] as Int
156157
median01 shouldBe 22
@@ -276,9 +277,10 @@ class StatisticsTests {
276277
"city",
277278
"name",
278279
"age",
280+
"weight",
279281
"height",
280282
"yearsToRetirement",
281-
) // TODO: why it's working for height and doesn't work for Double column weight
283+
)
282284

283285
val min01 = res0["age"][0] as Int
284286
min01 shouldBe 15
@@ -362,7 +364,7 @@ class StatisticsTests {
362364
fun `max on GroupBy`() {
363365
// scenario #0: all numerical columns
364366
val res0 = personsDf.groupBy("city").max()
365-
res0.columnNames() shouldBe listOf("city", "name", "age", "height", "yearsToRetirement") // TODO: DOUBLE weight?
367+
res0.columnNames() shouldBe listOf("city", "name", "age", "weight", "height", "yearsToRetirement")
366368

367369
val max01 = res0["age"][0] as Int
368370
max01 shouldBe 35

0 commit comments

Comments
 (0)