python - to_latex: Incorrect Encoding for Strings (with Backslashes) -


i have dataframe df looks this:

|           | b | ... | ------------------------- |    a\b\c    | 2 | ... | |    p\y\c    | 9 | ... | |    a\d\x    | 4 | ... | 

calling to_latex on dataframe returns strings a\textbackslashb\textbackslashc, error latex.

are there options or common encoding strategies this?

edit: using escape=false returns a\b\c error latex.


Comments

Popular posts from this blog

go - serving up pdfs using golang -

python - Best design pattern for collection of objects -

r - Using `bbmle:mle2` with vector parameters (already works using `optim`) -