create a true copy of dataset python code example Example: dataframe deep copy pandas.DataFrame.copy(deep=True)