Skip to content

Commit 43fdd08

Browse files
Automated commit of generated code
1 parent f7f785e commit 43fdd08

File tree

1 file changed

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

1 file changed

+10
-11
lines changed

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

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,13 @@ class StatisticsTests {
149149
"name",
150150
"age",
151151
"height",
152-
"yearsToRetirement"
152+
"yearsToRetirement",
153153
) // TODO: why double values from weight are not in the list? are they not Comparable?
154154

155155
val median01 = res0["age"][0] as Int
156156
median01 shouldBe 22
157-
//val median02 = res0["weight"][0] as Double
158-
//median02 shouldBe 66.0
157+
// val median02 = res0["weight"][0] as Double
158+
// median02 shouldBe 66.0
159159

160160
// scenario #1: particular column
161161
val res1 = personsDf.groupBy("city").medianFor("age")
@@ -277,13 +277,13 @@ class StatisticsTests {
277277
"name",
278278
"age",
279279
"height",
280-
"yearsToRetirement"
280+
"yearsToRetirement",
281281
) // TODO: why it's working for height and doesn't work for Double column weight
282282

283283
val min01 = res0["age"][0] as Int
284284
min01 shouldBe 15
285-
//val min02 = res0["weight"][0] as Double
286-
//min02 shouldBe 38.85756039691633
285+
// val min02 = res0["weight"][0] as Double
286+
// min02 shouldBe 38.85756039691633
287287

288288
// scenario #1: particular column
289289
val res1 = personsDf.groupBy("city").minFor("age")
@@ -342,7 +342,7 @@ class StatisticsTests {
342342
"age",
343343
"weight",
344344
"height",
345-
"yearsToRetirement"
345+
"yearsToRetirement",
346346
) // TODO: why is here weight presented? looks like inconsitency
347347

348348
val min41 = res4["age"][0] as Int
@@ -366,8 +366,8 @@ class StatisticsTests {
366366

367367
val max01 = res0["age"][0] as Int
368368
max01 shouldBe 35
369-
//val max02 = res0["weight"][0] as Double
370-
//max02 shouldBe 140.0
369+
// val max02 = res0["weight"][0] as Double
370+
// max02 shouldBe 140.0
371371

372372
// scenario #1: particular column
373373
val res1 = personsDf.groupBy("city").maxFor("age")
@@ -426,7 +426,7 @@ class StatisticsTests {
426426
"age",
427427
"weight",
428428
"height",
429-
"yearsToRetirement"
429+
"yearsToRetirement",
430430
) // TODO: weight is here?
431431

432432
val max41 = res4["age"][0] as Int
@@ -442,4 +442,3 @@ class StatisticsTests {
442442
max51 shouldBe 35
443443
}
444444
}
445-

0 commit comments

Comments
 (0)