Skip to content

pd.set_option("io.excel.xlsx.reader", "openpyxl") does not work #34252

Closed
@simonm3

Description

@simonm3

This works fine for an xlsx file:

pd.read_excel(path, engine="openpyxl")

However if i try using set_option then read_excel fails:

pd.set_option("io.excel.xlsx.reader", "openpyxl")
pd.read_excel(path)

ImportError: Missing optional dependency 'xlrd'. Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions