editing the dataframe from inside a class function 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