Skip to content

Commit 5d4be77

Browse files
committed
changed order of arguments
1 parent cc8a5c2 commit 5d4be77

File tree

1 file changed

+29
-8
lines changed

1 file changed

+29
-8
lines changed

pandas/io/excel.py

+29-8
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@
148148
this parameter is only necessary for columns stored as TEXT in Excel,
149149
any numeric columns will automatically be parsed, regardless of display
150150
format.
151+
comment : str, default None
152+
Comment out remainder of line. Pass a character or characters to this
153+
argument to indicate comments in the input file. Any data between the
154+
comment string and the end of the current line is ignored.
151155
skip_footer : int, default 0
152156
153157
.. deprecated:: 0.23.0
@@ -158,9 +162,6 @@
158162
convert integral floats to int (i.e., 1.0 --> 1). If False, all numeric
159163
data will be read in as floats: Excel stores all numbers as floats
160164
internally
161-
comment : str, default None
162-
Comment out remainder of line. Character or characters to indicate comments
163-
in the input file. Any data between comment and line end is ignored.
164165
165166
Returns
166167
-------
@@ -302,7 +303,6 @@ def read_excel(io,
302303
thousands=None,
303304
skipfooter=0,
304305
convert_float=True,
305-
comment=None,
306306
**kwds):
307307

308308
# Can't use _deprecate_kwarg since sheetname=None has a special meaning
@@ -334,9 +334,13 @@ def read_excel(io,
334334
parse_dates=parse_dates,
335335
date_parser=date_parser,
336336
thousands=thousands,
337+
<<<<<<< cc8a5c2681bfc6e209968ff9eb801e55454dfead
337338
skipfooter=skipfooter,
338-
convert_float=convert_float,
339+
=======
339340
comment=comment,
341+
skip_footer=skip_footer,
342+
>>>>>>> changed order of arguments
343+
convert_float=convert_float,
340344
**kwds)
341345

342346

@@ -417,9 +421,13 @@ def parse(self,
417421
parse_dates=False,
418422
date_parser=None,
419423
thousands=None,
424+
<<<<<<< cc8a5c2681bfc6e209968ff9eb801e55454dfead
420425
skipfooter=0,
421-
convert_float=True,
426+
=======
422427
comment=None,
428+
skip_footer=0,
429+
>>>>>>> changed order of arguments
430+
convert_float=True,
423431
**kwds):
424432
"""
425433
Parse specified sheet(s) into a DataFrame
@@ -443,9 +451,13 @@ def parse(self,
443451
parse_dates=parse_dates,
444452
date_parser=date_parser,
445453
thousands=thousands,
454+
<<<<<<< cc8a5c2681bfc6e209968ff9eb801e55454dfead
446455
skipfooter=skipfooter,
447-
convert_float=convert_float,
456+
=======
448457
comment=comment,
458+
skip_footer=skip_footer,
459+
>>>>>>> changed order of arguments
460+
convert_float=convert_float,
449461
**kwds)
450462

451463
def _should_parse(self, i, usecols):
@@ -498,9 +510,13 @@ def _parse_excel(self,
498510
parse_dates=False,
499511
date_parser=None,
500512
thousands=None,
513+
<<<<<<< cc8a5c2681bfc6e209968ff9eb801e55454dfead
501514
skipfooter=0,
502-
convert_float=True,
515+
=======
503516
comment=None,
517+
skip_footer=0,
518+
>>>>>>> changed order of arguments
519+
convert_float=True,
504520
**kwds):
505521

506522
_validate_header_arg(header)
@@ -673,7 +689,12 @@ def _parse_cell(cell_contents, cell_typ):
673689
parse_dates=parse_dates,
674690
date_parser=date_parser,
675691
thousands=thousands,
692+
<<<<<<< cc8a5c2681bfc6e209968ff9eb801e55454dfead
676693
skipfooter=skipfooter,
694+
=======
695+
comment=comment,
696+
skipfooter=skip_footer,
697+
>>>>>>> changed order of arguments
677698
**kwds)
678699

679700
output[asheetname] = parser.read(nrows=nrows)

0 commit comments

Comments
 (0)