这个代码是正确的,就到这里就错了,这个红色是什么意思啊?大家可以帮我看看嘛?
代码没有截完成,无法判断
由以下初步估计:
Timedelta = detail['ListingInfo1']-detail['UserupdateInfo2']
报Typeerror错,看上去是第69行 return method(self, other)的参数 other 数值数值错误
建议看一下detail['ListingInfo1'] detail['UserupdateInfo2']这两个数据是什么类型,可以用print(type(detail['ListingInfo1'])) print(type(detail['UserupdateInfo2']))把类型打印出来,看看是否数值类型,不是的话是不能做减法的