We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It looks like that some changes were made to the DataFrame.to_csv method, as mentioned in the what's new document.
Today I found two issues with the updated to_csv:
Thanks for your hard working. Hope we can make pandas less buggy and more powerful!
The text was updated successfully, but these errors were encountered:
2 was fixed in master a few days ago and will be in 0.11.1 #3454, the bugfix release due in a few weeks.
Sorry, something went wrong.
can you give an example of your 1)?
@jerryzhujian9 can you give us an example for 1)?
This works just fine:
df.to_csv("/tmp/1.csv",float_format="%.2f") pd.read_csv("/tmp/1.csv").info() <class 'pandas.core.frame.DataFrame'> Int64Index: 10 entries, 0 to 9 Data columns (total 3 columns): R0 10 non-null values C_l0_g0 10 non-null values C_l0_g1 10 non-null values dtypes: int64(2), object(1)
Closing as can't repro. @jerryzhujian9 will gladly reopen if you provide steps to reproduce.
No branches or pull requests
It looks like that some changes were made to the DataFrame.to_csv method, as mentioned in the what's new document.
Today I found two issues with the updated to_csv:
Thanks for your hard working. Hope we can make pandas less buggy and more powerful!
The text was updated successfully, but these errors were encountered: