We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pd.ExcelFile
1 parent 0fc1cc5 commit 0d0faa9Copy full SHA for 0d0faa9
tests/test_io.py
@@ -1116,6 +1116,14 @@ def test_excel_reader():
1116
check(assert_type(ef, pd.ExcelFile), pd.ExcelFile)
1117
check(assert_type(pd.read_excel(ef), pd.DataFrame), pd.DataFrame)
1118
1119
+ with pd.ExcelFile(
1120
+ path_or_buffer=path,
1121
+ engine="openpyxl",
1122
+ engine_kwargs={"data_only": True},
1123
+ ) as ef:
1124
+ check(assert_type(ef, pd.ExcelFile), pd.ExcelFile)
1125
+ check(assert_type(pd.read_excel(ef), pd.DataFrame), pd.DataFrame)
1126
+
1127
1128
def test_excel_writer():
1129
with ensure_clean(".xlsx") as path:
0 commit comments