How to use pandas DataFrame in shared memory durin

2019-09-02 01:45发布

问题:

In one answer to: Is shared readonly data copied to different processes for multiprocessing? a working solution for shared memory for a numpy array is given.

How would the same look like if a pandas DataFrame should be used?

Background: I would like to be able to write to the DataFrame during multiprocessing and would like to be able to process it further after the multiprocessing has finished.