File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
samples/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/render Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import org.jetbrains.kotlinx.dataframe.api.with
99import org.jetbrains.kotlinx.dataframe.samples.DataFrameSampleHelper
1010import org.junit.Test
1111
12- class FormatHeaderSamples : DataFrameSampleHelper (" format" , " api" ) {
12+ class FormatHeaderSamples : DataFrameSampleHelper (" format" , " api" ) {
1313 val df = peopleDf.cast<Person >()
1414
1515 @DataSchema
@@ -22,14 +22,14 @@ class FormatHeaderSamples: DataFrameSampleHelper("format", "api") {
2222 interface Person {
2323 val age: Int
2424 val city: String?
25- val name: DataRow <Name > // TODO Requires https://code.jetbrains.team/p/kt/repositories/kotlin/reviews/23694 to be merged
25+ val name: DataRow <Name >
2626 val weight: Int?
2727 val isHappy: Boolean
2828 }
2929
3030 @Test
3131 fun formatHeader () {
32- // SampleStart
32+ // SampleStart
3333 df
3434 // Format all column headers with bold
3535 .formatHeader().with { bold }
@@ -39,7 +39,7 @@ class FormatHeaderSamples: DataFrameSampleHelper("format", "api") {
3939 .formatHeader { name.lastName }.with { textColor(blue) }
4040 // Format all numeric column headers with underlines
4141 .formatHeader { colsOf<Number ?>() }.with { underline }
42- // SampleEnd
42+ // SampleEnd
4343 .saveDfHtmlSample()
4444 }
4545}
You can’t perform that action at this time.
0 commit comments