python 错误 ‘>‘ not supported between instances of ‘datetime.time‘ and ‘datetime.datetime‘
参考这个解决:https://www.5axxw.com/questions/content/gzoq3q具体代码sqlLongSss="SELECT*FROMtable1;"df=pd.read_sql(sqlLongSss,con=con)tt1="0713"#一阵日期乱倒tt2=datetime.datetime.strptime(tt1,'%H%M').strftime('%H:%M:%S