Skip to content

Commit cbcc6fa

Browse files
resolved rebase issue
1 parent b5cc2cc commit cbcc6fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/generic.py

+3-3
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)