10
An error about multiprocessing of Python
source link: http://www.donghao.org/2021/04/08/an-error-about-multiprocessing-of-python/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
An error about multiprocessing of Python
Our python program reported errors when running a new dataset:
[77 rows x 4 columns]]'. Reason: 'error("'i' format requires -2147483648 <= number <= 2147483647",)' multiprocessing.pool.MaybeEncodingError: Error sending result: '[ id ... email_send_date raise self._value File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 644, in get return self._map_async(func, iterable, mapstar, chunksize).get() File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 266, in map dfs = pool.map(partial(pd.read_parquet, **kwargs), file_list)
Python
xxxxxxxxxx
[77 rows x 4 columns]]'. Reason: 'error("'i' format requires -2147483648 <= number <= 2147483647",)'
multiprocessing.pool.MaybeEncodingError: Error sending result: '[ id ... email_send_date
raise self._value
File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 644, in get
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 266, in map
dfs = pool.map(partial(pd.read_parquet, **kwargs), file_list)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK