We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecdd7fa commit c648b5dCopy full SHA for c648b5d
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/io/csv.kt
@@ -332,7 +332,9 @@ public fun AnyFrame.writeCSV(
332
format: CSVFormat = CSVFormat.DEFAULT,
333
) {
334
format.print(writer).use { printer ->
335
- printer.printRecord(columnNames())
+ if (format.getSkipHeaderRecord() == false) {
336
+ printer.printRecord(columnNames())
337
+ }
338
forEach {
339
val values = it.values.map {
340
when (it) {
0 commit comments