import pandas as pd df = pd.read_csv(r'DataSet.csv') df_copy = df.copy(deep=False) # shallow copy df_copy = df.copy(deep=True) # deep copy (default for 'deep' is true)