Skip to content

Commit d5687d0

Browse files
committed
DOC: to_latex braces in headers must be escaped (#60063)
1 parent e3e198f commit d5687d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3339,7 +3339,7 @@ def to_latex(
33393339
The subset of columns to write. Writes all columns by default.
33403340
header : bool or list of str, default True
33413341
Write out the column names. If a list of strings is given,
3342-
it is assumed to be aliases for the column names.
3342+
it is assumed to be aliases for the column names. Braces must be escaped.
33433343
index : bool, default True
33443344
Write row names (index).
33453345
na_rep : str, default 'NaN'

0 commit comments

Comments
 (0)