d_time = datetime.date(2010, 11, 12)
t_stamp = pd.to_datetime('2010/11/12')
d_time2t_stamp = pd.to_datetime(d_time)
print(d_time)
print(t_stamp)
print(d_time2t_stamp)
print(d_time2t_stamp == t_stamp)
Pandas: Convert Timestamp to datetime.date