When I add a new "NaN" column ("C") to a dataframe (say df) to fill it later it will be added to other similar dataframes (here: sto) which is not my case. So how should I avoid this and remain the other dataframes unchanged?
import numpy as np
import pandas as pd
df=pd.DataFrame({"A":[1,2,3],"B":[3,4,9]})
display(df)
sto=df
df.loc[:,"C"]=np.nan
display(df)
display(sto)