Sometime when a dataframe is converted to latex using the built in to_latex() method the final latex product is not compiling.
I have recognized that the error comes from the use of either multirow and multicolumn latex commands and providing hypertargeted number as their first inputs instead of a plain integer.
See commit 94ed3db6c2136245eaba27467f2e78ab5bc58e30 for example paper that dosen't compile and possible fix path on the same branch.
Sometime when a dataframe is converted to latex using the built in
to_latex()
method the final latex product is not compiling. I have recognized that the error comes from the use of eithermultirow
andmulticolumn
latex commands and providing hypertargeted number as their first inputs instead of a plain integer.See commit 94ed3db6c2136245eaba27467f2e78ab5bc58e30 for example paper that dosen't compile and possible fix path on the same branch.