0

Can I share compound objects, like e.g. pandas dataframe between parallel processes in python multiprocessing?

Geeocode
  • 5,705
  • 3
  • 20
  • 34

1 Answers1

1

You can try to use the multiprocessing.Manager, like it was described here.
There's also PySpark, which has its own dataframe structure with inherent parallelization, and it can be converted into pandas and vice versa.

Community
  • 1
  • 1
hellpanderr
  • 5,581
  • 3
  • 33
  • 43