I am new to Python coming from R background,I have following time column in pandas
time
09:12:23
09:34:33
10:23:22
11:23:33
I want to convert this into time object of pandas,I am doing following in python
df['time'] = pd.to_datetime(df['time']).dt.time
Why its showing me following error.
class datetime.time is not convertible to datetime