8000 EHN: `df.to_latex(escape=True)` also escape index names by quangngd · Pull Request #61307 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

EHN: df.to_latex(escape=True) also escape index names #61307

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

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove overwrite format_index_names when header defined
  • Loading branch information
quangngd committed Apr 25, 2025
commit e14fd1fcb221c9b6334e905bbece7b86a04ebb0c
1 change: 0 additions & 1 deletion pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3585,7 +3585,6 @@ def _wrap(x, alt_format_):
elif isinstance(header, (list, tuple)):
relabel_index_.append({"labels": header, "axis": "columns"})
format_index_ = [index_format_] # column_format is overwritten
format_index_names_ = [index_format_] # column_format is overwritten

if index is False:
hide_.append({"axis": "index"})
Expand Down
Loading
0