BUG: pandas 1.3.2 incompatible with fastparquet 0.7.0 #43075
Labels
Bug
IO Parquet
parquet, feather
Regression
Functionality that used to work in a prior pandas version
Milestone
I have checked that this issue has not already been reported.
I've searched listing of open issues for "parquet" and found no matching entry describing this problem
I have confirmed this bug exists on the latest version of pandas.
Exists in 1.3.2
(optional) I have confirmed this bug exists on the master branch of pandas.
Exists also in the master branch.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
This fails with the following stack trace:
Problem description
AFAICT, the root cause of the problem is the "api" version test in io/parquet.py It needs to test
self.api.__version__ > Version("0.7.0")
.ParquetFile
constructor infastparquet
0.7.0 does not supportpandas_nulls
argument. This argument is supported from version 0.7.1.fastparquet
0.7.1 unfortunately does not build/install on darwin/arm64 (well, at least for me) :-/.Expected Output
Obviously, the expected behavior is that the
DataFrame
is read from the file.Output of
pd.show_versions()
pandas : 1.3.2
numpy : 1.21.2
pytz : 2021.1
dateutil : 2.8.2
pip : 21.2.4
setuptools : 56.0.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.26.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 2021.07.0
fastparquet : 0.7.0
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
The text was updated successfully, but these errors were encountered: