[issue40762] Writing bytes using CSV module results in b prefixed strings
Serhiy Storchaka
report at bugs.python.org
Wed May 27 08:08:39 EDT 2020
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Since Pandas opens an output file it has control on what encoding is used. It is a Pandas' responsibility to decode bytes, or raise an exception, or just ignore the problem if it is pretty uncommon case. Pandas already have a complex code for formatting output data into CSV files, one additional check does not matter.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40762>
_______________________________________
More information about the Python-bugs-list
mailing list