write_csv ignores formatting when writing to io.StringIO() #18825
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Expected output:
Wrong output:
Log output
No response
Issue description
I'm trying to obtain a Python string containing the output that would be written by the write_csv function.
Expected behavior
The code sample above should print a string that is tab-delimited and has no header, per the options I specify with write_csv.
Installed versions
The text was updated successfully, but these errors were encountered: