Skip to content

Bug#11637 fix to_csv #11649

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

Closed
wants to merge 1 commit into from

Conversation

varunkumar-dev
Copy link
Contributor

This is a fix to Bug #11637.
Error Description : incorrect output when a mix of integer and string column names passed as columns parameter in to_csv().
format.py is the cause of this discrepancy.

Please review .

# names passed as columns parameter in to_csv

df = DataFrame({0: ['a', 'b', 'c'],
1: ['aa', 'bb', 'cc']})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format here (need a tab)

@jreback
Copy link
Contributor

jreback commented Nov 19, 2015

looks good. pls add a whatsnew new for bug fixes for 0.17.1

@jreback jreback added Bug Output-Formatting __repr__ of pandas objects, to_string IO CSV read_csv, to_csv labels Nov 19, 2015
@jreback jreback added this to the 0.17.1 milestone Nov 19, 2015
Added test case test_to_csv_with_mix_columns
@jreback
Copy link
Contributor

jreback commented Nov 19, 2015

ping when green.

@varunkumar-dev
Copy link
Contributor Author

Done .

@jreback
Copy link
Contributor

jreback commented Nov 20, 2015

merged via 784445c

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO CSV read_csv, to_csv Output-Formatting __repr__ of pandas objects, to_string
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants