Skip to content

Commit f11bce8

Browse files
committed
fix minor syntax
1 parent 51c508c commit f11bce8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

pandas/io/excel.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@
5757
5858
Available cases:
5959
60-
* Defaults to ``0`` : 1st sheet as a `DataFrame`
61-
* ``1`` : 2nd sheet as a `DataFrame`
62-
* ``"Sheet1"`` : Load sheet with name "Sheet1"
63-
* ``[0,1,"Sheet5"]`` : Load first, second and sheet named "Sheet5"
60+
* Defaults to ``0``: 1st sheet as a `DataFrame`
61+
* ``1``: 2nd sheet as a `DataFrame`
62+
* ``"Sheet1"``: Load sheet with name "Sheet1"
63+
* ``[0, 1, "Sheet5"]``: Load first, second and sheet named "Sheet5"
6464
as a dict of `DataFrame`
65-
* None : All sheets.
65+
* None: All sheets.
6666
6767
sheetname : str, int, list, or None, default 0
6868
Alias of `sheet_name`.
@@ -228,14 +228,14 @@
228228
Name Value
229229
0 string1 1
230230
1 string2 2
231-
2 #string3 3
231+
2 #Comment 3
232232
233233
>>> pd.read_excel(open('tmp.xlsx', 'rb'),
234234
... sheet_name='Sheet3') # doctest: +SKIP
235235
Unnamed: 0 Name Value
236236
0 0 string1 1
237237
1 1 string2 2
238-
2 2 #string3 3
238+
2 2 #Comment 3
239239
240240
Index and header can be specified via the `index_col` and `header` arguments
241241
@@ -244,7 +244,7 @@
244244
0 NaN Name Value
245245
1 0.0 string1 1
246246
2 1.0 string2 2
247-
3 2.0 #string3 3
247+
3 2.0 #Comment 3
248248
249249
Column types are inferred but can be explicitly specified
250250
@@ -253,7 +253,7 @@
253253
Name Value
254254
0 string1 1.0
255255
1 string2 2.0
256-
2 #string3 3.0
256+
2 #Comment 3.0
257257
258258
True, False, and NA values, and thousands separators have defaults,
259259
but can be explicitly specified, too. Supply the values you would like
@@ -264,7 +264,7 @@
264264
Name Value
265265
0 NaN 1
266266
1 NaN 2
267-
2 #string3 3
267+
2 #Comment 3
268268
269269
Comment lines in the excel input file can be skipped using the `comment` kwarg
270270

0 commit comments

Comments
 (0)