You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following script causes a segfault on my machine
fromioimportBytesIOfrommultiprocessing.poolimportThreadPoolimportpandasaspd# Make many fake CSV files in memorybytes= ['\n'.join(['%d,%d,%d'% (i,i,i) foriinrange(10000)]).encode()
forjinrange(100)]
files= [BytesIO(b) forbinbytes]
# Read all files in many threadspool=ThreadPool(8)
pool.map(pd.read_csv, files)