bigframes.pandas.DatetimeIndex.has_duplicates#

property DatetimeIndex.has_duplicates: bool#

Check if the Index has duplicate values.

Examples:

>>> idx = bpd.Index([1, 5, 7, 7])
>>> bool(idx.has_duplicates)
True
>>> idx = bpd.Index([1, 5, 7])
>>> bool(idx.has_duplicates)
False
Returns:

Whether or not the Index has duplicate values.

Return type:

bool