float_format string error #9531
Labels
Duplicate Report
Duplicate issue or pull request
IO CSV
read_csv, to_csv
Output-Formatting
__repr__ of pandas objects, to_string
The float_format string works for single values i.e. float_format='%.1f', but it does not appear to work for a formatted string of columns. For example, If I had four columns with increasing significant digits, separated with tabs:
Then for some DataFrame X, I should be able to use:
But it unfortunately balks at me:
The text was updated successfully, but these errors were encountered: