Update runDataCleaning.py

This commit is contained in:
moonnejs 2017-10-10 17:19:16 +08:00 committed by GitHub
parent 6a82e579f2
commit 8c76108819

View File

@ -32,7 +32,7 @@ def cleanData(dbName, collectionName, start):
# 遍历数据 # 遍历数据
for data in cx: for data in cx:
# 获取时间戳对象 # 获取时间戳对象
time = data['datetime'].time() dt = data['datetime'].time()
# 默认需要清洗 # 默认需要清洗
cleanRequired = True cleanRequired = True
@ -81,4 +81,4 @@ def runDataCleaning():
if __name__ == '__main__': if __name__ == '__main__':
runDataCleaning() runDataCleaning()