Skip to content

BUG: Fix justification for DataFrame.to_string(index=False) #14569

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 4 commits into from

Conversation

buggi22
Copy link

@buggi22 buggi22 commented Nov 2, 2016

I believe this fixes #13032. I'm a new contributor, so please let me know if I've missed any steps.

@jreback jreback added Bug Output-Formatting __repr__ of pandas objects, to_string labels Nov 2, 2016
@jreback
Copy link
Contributor

jreback commented Nov 2, 2016

did the soln in #14196 not work?

@codecov-io
Copy link

Current coverage is 85.27% (diff: 100%)

Merging #14569 into master will decrease coverage by <.01%

@@             master     #14569   diff @@
==========================================
  Files           140        140          
  Lines         50693      50691     -2   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits          43230      43227     -3   
- Misses         7463       7464     +1   
  Partials          0          0          

Powered by Codecov. Last update 7a2bcb6...278c700

@buggi22
Copy link
Author

buggi22 commented Nov 6, 2016

I tried to make some updates to that other PR over at this branch, but there are a large number of test failures due to the change in functionality. I haven't had a chance to figure out which failures are simply due to out-of-date test cases, as opposed to newly-introduced bugs.

On another note, I realized that my changes in this PR should only apply to cases where the first column is numeric. I've added some new commits to this branch to try to address this, but unfortunately this seems significantly more fragile. I can see why a more comprehensive fix like PR #14196 would be preferable.

@jreback
Copy link
Contributor

jreback commented Dec 21, 2016

@buggi22 can you rebase / update?

@jreback
Copy link
Contributor

jreback commented Feb 1, 2017

closing as stale

@jreback jreback closed this Feb 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Output-Formatting __repr__ of pandas objects, to_string
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Justification is broken with to_string(index=False)
3 participants