cudf.Index.copy#

Index.copy(name=None, deep=False)[source]#

Make a copy of this object.

Parameters:
nameobject, default None

Name of index, use original name when None

deepbool, default True

Make a deep copy of the data. With deep=False the original data is used

Returns:
New index instance.