We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
import pandas as pd import numpy as np import os df = pd.read_excel('BinanceExport.xlsx') df
pandas.read_excel doesn't correctly read certain binance.com xlsx exports (Microsoft Workbook format)
Trying to my binance exports returns an empty dataframe
df = pd.read_excel('BinanceExport.xlsx') df >>> Date(UTC) ---------
or
df = pd.read_excel('BinanceExport.xlsx') df >>> Empty DataFrame Columns: [Date(UTC)] Index: []
Renaming the file doesn't help, but manually resaving does
It seems related to this issue #39250 but mine isn't a corrupted file nor does it return an error
I posted a question on stackoverflow and the export is downloadable down below
return complete dataframe
pd.show_versions()
commit : 3e89b4c python : 3.9.0.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : en_US.UTF-8 LANG : None LOCALE : en_US.UTF-8
pandas : 1.2.0 numpy : 1.19.2 pytz : 2020.5 dateutil : 2.8.1 pip : 20.2.4 setuptools : 49.6.0.post20201009 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.6 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 2.0.1 xlwt : None numba : None]
BinanceExport.xlsx
The text was updated successfully, but these errors were encountered:
my bad #39001
Sorry, something went wrong.
No branches or pull requests
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
Problem description
pandas.read_excel doesn't correctly read certain binance.com xlsx exports (Microsoft Workbook format)
Trying to my binance exports returns an empty dataframe
or
Renaming the file doesn't help, but manually resaving does
It seems related to this issue #39250
but mine isn't a corrupted file nor does it return an error
I posted a question on stackoverflow and the export is downloadable down below
Expected Output
return complete dataframe
Output of
pd.show_versions()
[INSTALLED VERSIONS
commit : 3e89b4c
python : 3.9.0.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : en_US.UTF-8
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.2.0
numpy : 1.19.2
pytz : 2020.5
dateutil : 2.8.1
pip : 20.2.4
setuptools : 49.6.0.post20201009
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : None
numba : None]
BinanceExport.xlsx
The text was updated successfully, but these errors were encountered: