Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
STY: fit in 80 columns
Browse files Browse the repository at this point in the history
  • Loading branch information
wesm committed Feb 9, 2012
1 parent c509817 commit 8e03572
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions pandas/io/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,13 +604,17 @@ def parse(self, sheetname, header=0, skiprows=None, index_col=None,
parsed : DataFrame
"""
if self.use_xlsx:
return self._parse_xlsx(sheetname, header=header, skiprows=skiprows, index_col=index_col,
parse_dates=parse_dates, date_parser=date_parser, na_values=na_values,
chunksize=chunksize)
return self._parse_xlsx(sheetname, header=header,
skiprows=skiprows, index_col=index_col,
parse_dates=parse_dates,
date_parser=date_parser,
na_values=na_values, chunksize=chunksize)
else:
return self._parse_xls(sheetname, header=header, skiprows=skiprows, index_col=index_col,
parse_dates=parse_dates, date_parser=date_parser, na_values=na_values,
chunksize=chunksize)
return self._parse_xls(sheetname, header=header, skiprows=skiprows,
index_col=index_col,
parse_dates=parse_dates,
date_parser=date_parser,
na_values=na_values, chunksize=chunksize)

def _parse_xlsx(self, sheetname, header=0, skiprows=None, index_col=None,
parse_dates=False, date_parser=None, na_values=None,
Expand Down

0 comments on commit 8e03572

Please sign in to comment.