Skip to content

Commit a037993

Browse files
ktlint format
1 parent 34648eb commit a037993

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

samples/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/collectionsInterop/AssociateBySamples.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class AssociateBySamples : DataFrameSampleHelper("associateBy", "api/collections
3333
"age" to listOf(15, 45, 20, 40, 30, 20, 30),
3434
"city" to listOf("London", "Dubai", "Moscow", "Milan", "Tokyo", null, "Moscow"),
3535
"weight" to listOf(54, 87, null, null, 68, 55, 90),
36-
"isHappy" to listOf(true, true, false, true, true, false, true)
36+
"isHappy" to listOf(true, true, false, true, true, false, true),
3737
).group("firstName", "lastName").into("name").cast<Person>()
3838

3939
@Test

samples/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/collectionsInterop/AssociateSamples.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class AssociateSamples : DataFrameSampleHelper("associate", "api/collectionsInte
3535
"age" to listOf(15, 45, 20, 40, 30, 20, 30),
3636
"city" to listOf("London", "Dubai", "Moscow", "Milan", "Tokyo", null, "Moscow"),
3737
"weight" to listOf(54, 87, null, null, 68, 55, 90),
38-
"isHappy" to listOf(true, true, false, true, true, false, true)
38+
"isHappy" to listOf(true, true, false, true, true, false, true),
3939
).group("firstName", "lastName").into("name").cast<Person>()
4040

4141
@Test
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package org.jetbrains.kotlinx.dataframe.samples.api.info
22

3-
import org.jetbrains.kotlinx.dataframe.annotations.DataSchema
4-
import org.jetbrains.kotlinx.dataframe.api.cast
53
import org.jetbrains.kotlinx.dataframe.api.dataFrameOf
64
import org.jetbrains.kotlinx.dataframe.api.tail
75
import org.jetbrains.kotlinx.dataframe.samples.DataFrameSampleHelper
@@ -15,30 +13,30 @@ class TailSamples : DataFrameSampleHelper("tail", "api") {
1513
"age" to listOf(15, 45, 20, 40, 30, 20, 30),
1614
"city" to listOf("London", "Dubai", "Moscow", "Milan", "Tokyo", null, "Moscow"),
1715
"weight" to listOf(54, 87, null, null, 68, 55, 90),
18-
"isHappy" to listOf(true, true, false, true, true, false, true)
16+
"isHappy" to listOf(true, true, false, true, true, false, true),
1917
)
2018

2119
@Test
2220
fun notebook_test_tail_1() {
2321
// SampleStart
2422
df
25-
// SampleEnd
23+
// SampleEnd
2624
.saveDfHtmlSample()
2725
}
2826

2927
@Test
3028
fun notebook_test_tail_2() {
3129
// SampleStart
3230
df.tail()
33-
// SampleEnd
31+
// SampleEnd
3432
.saveDfHtmlSample()
3533
}
3634

3735
@Test
3836
fun notebook_test_tail_3() {
3937
// SampleStart
4038
df.tail(numRows = 2)
41-
// SampleEnd
39+
// SampleEnd
4240
.saveDfHtmlSample()
4341
}
4442
}

samples/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/utils/ShuffleSamples.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,15 @@ class ShuffleSamples : DataFrameSampleHelper("shuffle", "api") {
2525
fun notebook_test_shuffle_1() {
2626
// SampleStart
2727
df
28-
// SampleEnd
28+
// SampleEnd
2929
.saveDfHtmlSample()
3030
}
3131

3232
@Test
3333
fun notebook_test_shuffle_2() {
3434
// SampleStart
3535
df.shuffle(Random(42))
36-
// SampleEnd
36+
// SampleEnd
3737
.saveDfHtmlSample()
3838
}
39-
4039
}

0 commit comments

Comments
 (0)