I have a DataFrame df that looks like this:
| A | B | ... |
-------------------------
| a\b\c | 2 | ... |
| p\y\c | 9 | ... |
| a\d\x | 4 | ... |
Calling to_latex on this DataFrame returns strings like a\textbackslashb\textbackslashc, what obviously is an error for LaTeX.
Are there any options or common encoding strategies for this?
Edit: Using escape=False returns a\b\c what is also an error for LaTeX.