forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue with to_latex and MultiIndex column format
This is a potential resolution to pandas-dev#8336 It borrows the same code flow from _get_formatted_index in pandas.core.format
- Loading branch information
Showing
1 changed file
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I think you can use ljust here, i.e.
[l.ljust(width) for l in lev]
:)