how to get dataframe changed in function python code example
Example: dataFrame changed by function
def test(df):
df = df.copy(deep=True)
df['tt'] = np.nan
return df
def test(df):
df = df.copy(deep=True)
df['tt'] = np.nan
return df