EHN: Add encoding_errors option in pandas.DataFrame.to_csv (#27750) by shigemk2 · Pull Request #27899 · pandas-dev/pandas

closes Suppress UnicodeEncodeError when executing to_csv method #27750 tests added / passed passes black pandas passes git diff upstream/master -u -- "*.py" | flake8 --diff whatsnew e...