Skip to content

Commit 2800ec8

Browse files
resolved rebase issue
1 parent 98b0f90 commit 2800ec8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/generic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3092,9 +3092,9 @@ def to_latex(
30923092
30933093
Examples
30943094
--------
3095-
>>> df = pd.DataFrame({{'name': ['Raphael', 'Donatello'],
3096-
... 'mask': ['red', 'purple'],
3097-
... 'weapon': ['sai', 'bo staff']}})
3095+
>>> df = pd.DataFrame(dict(name=['Raphael', 'Donatello'],
3096+
... mask=['red', 'purple'],
3097+
... weapon=['sai', 'bo staff']))
30983098
>>> print(df.to_latex(index=False)) # doctest: +NORMALIZE_WHITESPACE
30993099
\begin{{tabular}}{{lll}}
31003100
\toprule

0 commit comments

Comments
 (0)