-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: add support for reading binary Excel files (#15914) #30519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This enhancement seems reasonable to me.
If so, do we need to update other docstrings?
Yes! Please update the docstring for read_excel
as well as io.rst
if necessary
cc @WillAyd
Also, welcome to pandas
! 🚀
Thank you @gfyoung, I have updated the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see question above. otherwise lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm merge when happy @gfyoung
Thanks @ftruzzi! |
Thank you @gfyoung @simonjayhawkins @WillAyd for your help and thorough reviews! Happy to contribute :) |
Hi, this is a quick fix for #15914.
After reading the issue I'm not sure if this is meant to be supported though, please let me know!
I ran into this issue when trying to pass to
read_excel
a binary file downloaded withrequests
so I think it would make sense to support this natively without the user having to figure out the need to callio.BytesIO
first. If so, do we need to update other docstrings?Thank you!
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff