May-04-2022, 02:45 PM
Sounds like you're running two different programs at different times (that "other script" has run and exited before "3rd script" runs). If so, the dataframe is gone and has to be recreated.
If you want to process some data and reuse the result multiple times, that generally means you need to do one of :
If you want to process some data and reuse the result multiple times, that generally means you need to do one of :
- Run them in the same process
- After processing the data, save it to disk in already-processed form and read it back quickly (like a database)
- Process the data and keep it in memory, and have the second script talk to the first process (IPC) and request the data