-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
Truncate DataFrames centrally, rather than at one end #5603
Comments
@takluyver I think this would be real nice for 0.14! I would just default this (though could have an option |
@takluyver can you do this? |
I can submit a PR for this on the weekend, as it affects the display options similar to #6890 |
@bjonen excellent! |
Oh, sorry, the 'pandas' label is below the fold on GMail, so I didn't notice I was getting pinged. I'm happy for @bjonen to do it. |
This came up in discussion on #5550 and #5594. The default plain & HTML repr now truncates DataFrames to the first max_rows rows and max_columns columns. At least for rows, truncating in the middle (so we show the first
max_rows//2
and the lastmax_rows//2
rows) would be more consistent with the display of Series and numpy arrays.This isn't a major change, but it's not completely trivial either, which is why I haven't done it already. I'll try to get round to it, but if someone else wants to work on it, go for it.
The text was updated successfully, but these errors were encountered: