Skip to content

Commit 03c7040

Browse files
authored
DOC: Rst Formatting, make sure continuation prompt are used. (#35317)
1 parent 6aa311d commit 03c7040

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pandas/core/indexing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class _IndexSlice:
5959
>>> midx = pd.MultiIndex.from_product([['A0','A1'], ['B0','B1','B2','B3']])
6060
>>> columns = ['foo', 'bar']
6161
>>> dfmi = pd.DataFrame(np.arange(16).reshape((len(midx), len(columns))),
62-
index=midx, columns=columns)
62+
... index=midx, columns=columns)
6363
6464
Using the default slice command:
6565

pandas/io/excel/_base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,8 @@ class ExcelWriter(metaclass=abc.ABCMeta):
601601
You can set the date format or datetime format:
602602
603603
>>> with ExcelWriter('path_to_file.xlsx',
604-
date_format='YYYY-MM-DD',
605-
datetime_format='YYYY-MM-DD HH:MM:SS') as writer:
604+
... date_format='YYYY-MM-DD',
605+
... datetime_format='YYYY-MM-DD HH:MM:SS') as writer:
606606
... df.to_excel(writer)
607607
608608
You can also append to an existing Excel file:

0 commit comments

Comments
 (0)