pandas.Timestamp.time# Timestamp.time()# 返回时间对象,具有相同的时间,但 tzinfo=None。 Examples >>> ts = pd.Timestamp('2023-01-01 10:00:00') >>> ts Timestamp('2023-01-01 10:00:00') >>> ts.time() datetime.time(10, 0)