read_excel doesn't accept bytes #20526
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
source must be a string or bytes
Issue description
When I try to read a certain xlsx files in bytes, pl.read_excel() fails to read it.
Works on 1.17.
Here is an empty xlsx created in google sheets.
Untitled spreadsheet.xlsx
Expected behavior
A dataframe or a message indicating an empty file.
Installed versions
The text was updated successfully, but these errors were encountered: