index_ = pd.to_datetime(bcdata.index)
test = pd.date_range("2019-12-24 22:00:00","2020-01-01 06:59:59.900",freq="0.1S")
for i,j in zip(index_,test):
if i==j:
continue
else:
print(i,j)
index_ = pd.to_datetime(bcdata.index)
test = pd.date_range("2019-12-24 22:00:00","2020-01-01 06:59:59.900",freq="0.1S")
for i,j in zip(index_,test):
if i==j:
continue
else:
print(i,j)
本文标题:找出一段时间序列有问题的那行
本文链接:https://www.haomeiwen.com/subject/rtrzlrtx.html
网友评论