bigframes.pandas.DatetimeIndex.unique#

DatetimeIndex.unique(level: Hashable | int | None = None) Index#

Returns unique values in the index.

Examples:

>>> idx = bpd.Index([1, 1, 2, 3, 3])
>>> idx.unique()
Index([1, 2, 3], dtype='Int64')
Parameters:

level (int or hashable, optional) – Only return values from specified level (for MultiIndex). If int, gets the level by integer position, else by level name.

Returns:

bigframes.pandas.Index