File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -3367,7 +3367,7 @@ def to_latex(
33673367 -----
33683368
33693369 .. note::
3370- As of v1.5.0 this method has changed to use the Styler implementation of
3370+ As of v1.5.0 this method has changed to use the `` Styler`` implementation of
33713371 ``to_latex`` and no longer uses the DataFrameRenderer. It is advised that
33723372 users switch to using Styler, since this implementation is more frequently
33733373 updated and contains much more flexibility with the output. The following
@@ -3394,7 +3394,8 @@ def to_latex(
33943394 formatter={"name": str.upper}, na_rep="-", precision=1, escape="latex"
33953395 )
33963396
3397- To control other aspects we use the ``Styler.to_latex`` arguments such as,
3397+ To control other aspects we use the ``Styler.to_latex`` arguments, as
3398+ documented, such as,
33983399
33993400 .. code-block:: python
34003401
@@ -3413,14 +3414,14 @@ def to_latex(
34133414 ... formatters={"name": str.upper},
34143415 ... float_format="{:.1f}".format,
34153416 ... ) # doctest: +SKIP
3416- \begin{{ tabular}}{{ lrr} }
3417+ \begin{tabular}{ lrr}
34173418 \toprule
34183419 name & age & height \\
3419- \\ midrule
3420+ \midrule
34203421 RAPHAEL & 26 & 181.2 \\
34213422 DONATELLO & 45 & 177.7 \\
34223423 \bottomrule
3423- \end{{ tabular} }
3424+ \end{tabular}
34243425 """
34253426 msg = (
34263427 "`col_space` is deprecated. Whitespace in LaTeX does not impact "
You can’t perform that action at this time.
0 commit comments