You can use drop_duplicates
:
df.drop_duplicates('Cluster').index
Output:
Index(['2021-01-28 16:39:00', '2021-01-28 16:41:00', '2021-01-28 16:42:00'], dtype='object', name='Date')
Or if you want the row number, reset index:
df.reset_index().drop_duplicates('Cluster').index
Output:
Int64Index([0, 2, 3], dtype='int64')
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…