I have two scripts, let's say "reading" and "calculation". Script "reading" has inside of it several functions, and reads data from csv files and creates pandas dataframes. Let's say it defines variable "dataframe_1". Script "calculation" makes some calculation with dataframes, which were defined in script "reading".
I want to run script "calculation" after I ran script "reading", and use its results somehow. How can I access that variable (dataframe_1) inside script "calculation", after it was defined in script "reading"?
I assume during execution of script "reading", dataframe_1 is stored in operating memory, how can I access it?
If I do it like that, it reads dataframe_1 again, instead of just accessing the result of reading, which are stored in memory?
from reading import dataframe_1