-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
Don't add rowspan/colspan if it's 1. #15403
Conversation
Codecov Report
@@ Coverage Diff @@
## master #15403 +/- ##
==========================================
- Coverage 90.37% 90.37% -0.01%
==========================================
Files 135 135
Lines 49454 49463 +9
==========================================
+ Hits 44694 44702 +8
- Misses 4760 4761 +1
Continue to review full report at Codecov.
|
@QuLogic thanks. Could you check and see if we have any tests of colspan > 1 when there's a MultiIndex in the columns? I see we have one for rowspan > 1 with a MI in the index, but didn't see one for the columns. |
I'm not sure where it is, but codecov says it's hitting both |
is there any visible effect of this? You can add a whatsnew entry with this PR number just to document. Maybe under Other Enhancements. lgtm. otherwise. |
It should be invisible to the user (other than the tables being costing
fewer KB)
…On Thu, Feb 16, 2017 at 8:30 AM, Jeff Reback ***@***.***> wrote:
is there any visible effect of this? You can add a whatsnew entry with
this PR number just to document. Maybe under Other Enhancements. lgtm.
otherwise.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15403 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIjzxvYx50ntO5WWkkLn3TKQnmUgfks5rdF2MgaJpZM4MBE3l>
.
|
Save a few bytes per row/col and it's already done in the other code path.
6ad291f
to
9a8fcee
Compare
thanks @QuLogic |
Just a small thing I noticed in a [footnote here](https://danluu.com/web-bloat/#appendix-irony). Probably can't do much about the extra classes, but rowspan/colspan seem like easy fixes to save a few bytes per row/col and it's already done in the other code path. Author: Elliott Sales de Andrade <quantum.analyst@gmail.com> Closes pandas-dev#15403 from QuLogic/no-extra-span and squashes the following commits: 9a8fcee [Elliott Sales de Andrade] Don't add rowspan/colspan if it's 1.
Just a small thing I noticed in a footnote here. Probably can't do much about the extra classes, but rowspan/colspan seem like easy fixes to save a few bytes per row/col and it's already done in the other code path.
Don't really know if this is major enough to deserve a what's new entry.
closes #xxxx- N/Agit diff upstream/master | flake8 --diff