pandas.DataFrame.copy

DataFrame.copy(deep=True)

Make a copy of this object

Parameters:

deep : boolean or string, default True

Make a deep copy, i.e. also copy data

Returns:

copy : type of caller