DataFrame diubah berdasarkan fungsi

def test(df):
    df = df.copy(deep=True)
    df['tt'] = np.nan
    return df
Real Ratel