bigframes.pandas.DatetimeIndex.copy#

DatetimeIndex.copy(name: Hashable | None = None)#

Make a copy of this object.

Name is set on the new object.

Examples:

>>> idx = bpd.Index(['a', 'b', 'c'])
>>> new_idx = idx.copy()
>>> idx is new_idx
False
Parameters:

name (Label, optional) – Set name for new object.

Returns:

Index reference to new object, which is a copy of this object.

Return type:

bigframes.pandas.Index