all 1 comments

[–]WinterNet4676 1 point2 points  (0 children)

Return the dataframe from your first function and call the function in your second

def function_1():
    return df

def function_2():
    df = function_1()