Add formatters parameter to DataFrame.to_csv() #16840
Labels
Duplicate Report
Duplicate issue or pull request
IO CSV
read_csv, to_csv
Output-Formatting
__repr__ of pandas objects, to_string
DataFrame.to_string()
has a formatters parameter for formatting columns individually, butto_csv()
could benefit from that parameter as well. This is especially useful, for example, when formatting integers with missing values.The text was updated successfully, but these errors were encountered: