Skip to content

Commit

Permalink
Specify engine for excel files
Browse files Browse the repository at this point in the history
  • Loading branch information
Arsen Losenko committed Aug 10, 2022
1 parent aaa3aae commit 1ce1ab6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,9 @@ def load_dataframes(self, fp, skip_data=False) -> Iterable:
reader_options["nrows"] = 0
reader_options["index_col"] = 0

yield from reader(fp, **reader_options)
elif self._reader_options == "excel":
reader_options["engine"] = "pyxlsb"
yield from reader(fp, **reader_options)
else:
yield reader(fp, **reader_options)
Expand Down

0 comments on commit 1ce1ab6

Please sign in to comment.