REGR: pd.read_csv segfaults with 1.2 (has worked since before pandas 1.0) · Issue #38753 · pandas-dev/pandas (original) (raw)
- 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.
Code Sample, a copy-pastable example
Wish I could give more information, but this is all I have (not sure I can share the input data):
Fatal Python error: Segmentation fault
Current thread 0x00007f658531a740 (most recent call first):
File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 2056 in read
File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 1052 in read
File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 463 in _read
File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 605 in read_csv
Once I added the pin pandas<1.2
everything works again.
Output of pd.show_versions()
INSTALLED VERSIONS
commit : 3e89b4c
python : 3.7.9.final.0
python-bits : 64
OS : Linux
OS-release : 4.4.0-1020-aws
Version : #29-Ubuntu SMP Wed Jun 14 15:54:52 UTC 2017
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.0
numpy : 1.19.1
pytz : 2020.5
dateutil : 2.8.1
pip : 20.2.2
setuptools : 49.6.0
Cython : None
pytest : 6.2.1
hypothesis : None
sphinx : 3.4.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.2
html5lib : None
pymysql : None
psycopg2 : 2.8.6 (dt dec pq3 ext lo64)
jinja2 : 2.11.2
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.5.4
sqlalchemy : 1.3.22
tables : None
tabulate : 0.8.7
xarray : 0.16.2
xlrd : None
xlwt : None
numba : None
None