We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adba9ca commit 292b865Copy full SHA for 292b865
pandas/tests/io/formats/test_to_latex.py
@@ -825,6 +825,9 @@ def test_to_latex_escape_special_chars(self):
825
assert result == expected
826
827
def test_to_latex_escape_special_chars_in_index_names(self):
828
+ # https://github.com/pandas-dev/pandas/issues/61309
829
+ # https://github.com/pandas-dev/pandas/issues/57362
830
+
831
index = "&%$#_{}}~^\\"
832
df = DataFrame({index: [1, 2, 3]}).set_index(index)
833
result = df.to_latex(escape=True)
0 commit comments