pandas copy vs assignement -site:medium.com -site:towardsdatascience.com code example Example: python - make a copy of a df df_temp = df.copy()