-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
to_csv locale dependent float_format #11812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
can you show an example of where this is failing? |
I set This works: These don't: P.S. maybe this refers to Python issues and this issue should be closed? |
@Winand I think we should simply change to the new style formatting here. Want to do a pull-request? |
Should this be closed as a result of work on #12132? |
I've never finished that PR, and now it needs to be revised, because those parts of pandas have changed significantly. But it still uses old-style formatting, afaik. |
Python (3.4) doesn't support
"%n"%9.0
, have to use"{:n}".format(9.0)
instead.But pandas (0.17.0)
to_native_types
uses 1st type of string formatting, so locale dependent format cannot be used withto_csv
.The text was updated successfully, but these errors were encountered: