Can you iterate a DataFrame without copying memory?
问题 I am launching a Process that fetches a couple of gigs of data from a database into a DataFrame with a date index. From there I create a Manager to store that data and call a function using a Pool to utilize CPU cores. Since I have so much data, I need to use shared memory for the pooled methods to work on. import multiprocessing as mp import pandas as pd # Launched from __main__ class MyProcess(mp.Process): def calculate(): # Get and preprocess data allMyData = <fetch from Mongo> aggs =