read_excel doesn't accept bytes #20526
Labels
A-io-spreadsheet
Area: reading/writing Excel/ODS files
accepted
Ready for implementation
bug
Something isn't working
good first issue
Good for newcomers
P-low
Priority: low
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: