Closed billylanchantin closed 2 months ago
require Explorer.DataFrame, as: DF one_ms = %Explorer.Duration{value: 1, precision: :millisecond} DF.new(duration: [one_ms]) |> DF.to_csv("output.csv") # {:error, %RuntimeError{message: "Polars Error: datatype 1ms cannot be written to csv"}}
This isn't a "bug" as much as a gotcha since it's not documented anywhere. I think we should call this behavior out somewhere, perhaps in to_csv?
to_csv
Example
Thoughts
This isn't a "bug" as much as a gotcha since it's not documented anywhere. I think we should call this behavior out somewhere, perhaps in
to_csv
?Related issues