-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
set_option('max_colwidth', N) not working on groupby output #7856
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
hmm, seems like a bug. that option is not well tested either, possibly related #7059 want to have a look; add some tests and see whats going on? |
Yeah, I'll poke around on this.. it will be a good learning experience for me. :) |
after discussion with @tiagoantao: the issue is that the
So literally, it is only applied to the columns, but I think it seems logical to also apply this maximum width to the index? |
I have designed an embryo of solution for this. I would bet that this is naive, but maybe it suggests a way. It changes the way the index is rendered. |
justification to comply with tests
closed by #8954 |
Hi All,
Might be pilot error (or the incorrect expectations), but I was expecting the max_colwidth option to work on groupby terminal output. Replication here:
The text was updated successfully, but these errors were encountered: