📅  最后修改于: 2022-03-11 14:46:23.201000             🧑  作者: Mango
In [13]: print df.to_latex(escape=False)
# Result:
\begin{tabular}{lrr}
\toprule
{} & $ \beta $ & $ \gamma $ \\
\midrule
0 & 1 & 2 \\
1 & 3 & 4 \\
\bottomrule
\end{tabular}