File tree 2 files changed +4
-4
lines changed
dataframe-csv/src/main/kotlin/org/jetbrains/kotlinx/dataframe/impl/io
dataframe-excel/src/main/kotlin/org/jetbrains/kotlinx/dataframe/io 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,15 +62,15 @@ internal fun writeDelimImpl(
62
62
it.toJson()
63
63
} catch (_: NoClassDefFoundError ) {
64
64
error(
65
- " Encountered a DataFrame when writing to csv/tsv/delim. This needs to be converted to JSON, so the dataframe-json dependency is required ." ,
65
+ " Encountered a DataRow value when writing to csv/tsv/delim. It must be serialized to JSON, requiring the ' dataframe-json' dependency." ,
66
66
)
67
67
}
68
68
69
69
is AnyFrame -> try {
70
70
it.toJson()
71
71
} catch (_: NoClassDefFoundError ) {
72
72
error(
73
- " Encountered a DataRow when writing to csv/tsv/delim. This needs to be converted to JSON, so the dataframe-json dependency is required ." ,
73
+ " Encountered a DataFrame value when writing to csv/tsv/delim. It must be serialized to JSON, requiring the ' dataframe-json' dependency." ,
74
74
)
75
75
}
76
76
Original file line number Diff line number Diff line change @@ -673,7 +673,7 @@ private fun Cell.setCellValueByGuessedType(any: Any) =
673
673
any.toJson()
674
674
} catch (_: NoClassDefFoundError ) {
675
675
error(
676
- " Encountered a DataRow when writing to an Excel cell. This needs to be converted to JSON, so the dataframe-json dependency is required ." ,
676
+ " Encountered a DataRow value when writing to an Excel cell. It must be serialized to JSON, requiring the ' dataframe-json' dependency." ,
677
677
)
678
678
},
679
679
)
@@ -683,7 +683,7 @@ private fun Cell.setCellValueByGuessedType(any: Any) =
683
683
any.toJson()
684
684
} catch (_: NoClassDefFoundError ) {
685
685
error(
686
- " Encountered a DataFrame when writing to an Excel cell. This needs to be converted to JSON, so the dataframe-json dependency is required ." ,
686
+ " Encountered a DataFrame value when writing to an Excel cell. It must be serialized to JSON, requiring the ' dataframe-json' dependency." ,
687
687
)
688
688
},
689
689
)
You can’t perform that action at this time.
0 commit comments