[New-bugs-announce] [issue44460] python crashes when pandas reading parquet

Andrey Brykin report at bugs.python.org
Sat Jun 19 06:57:49 EDT 2021


New submission from Andrey Brykin <brand17 at yandex.ru>:

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 <report at bugs.python.org>
<https://bugs.python.org/issue44460>
_______________________________________


More information about the New-bugs-announce mailing list