Skip to content

Commit 9d8c29c

Browse files
authored
Merge pull request #4 from xmalet-nrcan/main
FIX : Excel reader in factory.
2 parents d11cb1f + ac1f334 commit 9d8c29c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

nrcan_etl_toolbox/etl_toolbox/reader/source_readers/excel_reader.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ def __init__(self, input_source, sheet_name=None, skiprows=0, skipfooter=0, **kw
1818
self.skiprows = skiprows
1919
self.sheet_name = sheet_name
2020
self._kwargs = kwargs
21-
self._original_file = pd.ExcelFile(self._input_source, engine="openpyxl")
21+
self._original_file = pd.ExcelFile(
22+
self._input_source
23+
) # 20250806 - Removed the `engine` parameter to allow pandas to choose the best engine automatically.
2224
self.sheet_name = sheet_name
2325

2426
def __del__(self):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "nrcan_etl_toolbox"
33

4-
version = "0.1.45"
4+
version = "0.1.46"
55

66
description = "Package for logging and database interfacing using SQLAlchemy and SQLModels"
77
authors = [

0 commit comments

Comments
 (0)