bigframes.pandas.Index.copy#
- Index.copy(name: Hashable | None = None)[source]#
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: