-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG/ENH: Translate CSS border properties for Styler.to_excel
#45312
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
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also look to add a roundtrip test in pandas/tests/io/excel/test_style.py
…into style-border-css
Addressing PR change requests
Any idea what could be causing the failure? It's something related to filesystems in |
Looking really good, especially the style round trip. Just one or two comments for optimisation. |
Co-authored-by: JHM Darbyshire <[email protected]>
…into style-border-css
Its difficult to test this since you have to write to excel and then read that the file rendered correctly. The round trip tests I requested in a) The styled dataframe (with a border) is different to the unstyled dataframe (without border) |
Do I write the entry or does a maintainer do that? I propose 2 entries along the lines of:
|
@tehunter u add them |
looks fine (but before i resolved i think the doc-build was failing) so let's check that. |
yeah these are failing: https://github.com/pandas-dev/pandas/runs/4841791532?check_suite_focus=true |
Co-authored-by: JHM Darbyshire <[email protected]>
Co-authored-by: JHM Darbyshire <[email protected]>
@github-actions pre-commit |
@tehunter if you get a chance to merge with main, i can take a look at the CI errors you are getting |
Styler | ||
^^^^^^ | ||
|
||
- Fixed bug in :class:`CSSToExcelConverter` leading to ``TypeError`` when border color provided without border style for ``xlsxwriter`` engine (:issue:`42276`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just put this in the I/O section
thanks @tehunter |
Styler.to_excel
does not export styles and formats correctly #42276 ("Border styles bug")