-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Fix Bug: last column missing formatting in Latex (#52218) #60356
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
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.
Thanks for the PR!
fix backticks
doc/source/whatsnew/v2.3.0.rst
Outdated
@@ -48,6 +48,8 @@ These are bug fixes that might have notable behavior changes. | |||
|
|||
.. _whatsnew_230.notable_bug_fixes.notable_bug_fix1: | |||
|
|||
- The ``to_latex`` function is now fixed for hidden multiindex dataframes (:issue:`52218`) |
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.
Not sure this is the right place for this, and its a bit misleading as well. I would write.
...to_latex
styling of column headers when combined with a hidden index or hidden index-levels is fixed...
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.
@attack68 Ah didn't see the general bug fixes section... moved and reworded 👍
Co-authored-by: JHM Darbyshire <[email protected]>
Ah interesting... that makes sense. |
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.
LGTM
doc/source/whatsnew/v2.3.0.rst
Outdated
@@ -73,6 +73,8 @@ Performance improvements | |||
Bug fixes | |||
~~~~~~~~~ | |||
|
|||
- The ``to_latex`` styling of column headers when combined with a hidden index or hidden index-levels is fixed. |
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 move this to v3.0.0.rst
?
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.
Updated!
Co-authored-by: Matthew Roeschke <[email protected]>
Thanks @corbanvilla |
…andas-dev#60356) * fix to_latex for multiindex * add newline * fix styling * Update v2.3.0.rst fix backticks * update description. * Apply suggested fix Co-authored-by: JHM Darbyshire <[email protected]> * move to v.3 * Update pandas/io/formats/style_render.py Co-authored-by: Matthew Roeschke <[email protected]> * spacing * fix whitespace * fix method name --------- Co-authored-by: JHM Darbyshire <[email protected]> Co-authored-by: Matthew Roeschke <[email protected]>
Redo of #60239 but using a feature branch this time :-)
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.