Make a copy of this object.
Name and dtype sets those attributes on the new object.
Set name for new object.
Set dtype for new object.
Deprecated since version 1.2.0: use astype method instead.
Kept for compatibility with MultiIndex. Should not be used.
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 deep is passed it will attempt to deepcopy.