- Index.copy(name=None, deep=False)[source]#
Make a copy of this object.
Name is set on the new object.
- nameLabel, optional
Set name for new object.
- deepbool, default False
Index refer to new object which is a copy of this object.
In most cases, there should be no functional difference from using
deep, but if
deepis passed it will attempt to deepcopy.