Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think you need something like this: Move the 3 scripts to 3 functions and call the functions from the main script.

def func1():
    # do stuff
    return df1

def func2():
    # do stuff
    return df2

def func3():
    # do stuff
    return df3

# Main script
df1 = func1()
df2 = func2()
df3 = func3()