New submission from Andrey Brykin <[email protected]>:
Python crashes when running this code (I attached the error message screenshot):
import pandas as pd
d = {'col1': [[0.] * 25] * 2560}
df = pd.DataFrame(data=d)
df.to_parquet('data.parquet')
for j in range(15):
table = pd.read_parquet('data.parquet')
There is no error when running from python 3.9.5 with the same pandas version.
So it doesn't relate to pandas.
The error happening with the exact list size of 2560 - no error with 2561 or
2559. Another dimension is also important: there is no error if it is exceeding
25.
I am running on Windows 10 2004.
----------
components: IO, Windows
files: message.png
messages: 396124
nosy: brand17, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: python crashes when pandas reading parquet
type: crash
versions: Python 3.6
Added file: https://bugs.python.org/file50118/message.png
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44460>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com