fix bug
This commit is contained in:
@@ -147,6 +147,7 @@ def calcByCity(city, year_month):
|
|||||||
print("开始计算年" + str(year_month) + "写字楼基准价")
|
print("开始计算年" + str(year_month) + "写字楼基准价")
|
||||||
|
|
||||||
sample = es.scan_by_sql_to_data_frame(sql)
|
sample = es.scan_by_sql_to_data_frame(sql)
|
||||||
|
print("样本SQL:" + sql + "样本量:" +str(len(sample)))
|
||||||
office = getOffice(city)
|
office = getOffice(city)
|
||||||
|
|
||||||
update_office(city, office, sample, year_month)
|
update_office(city, office, sample, year_month)
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ matplotlib
|
|||||||
kafka-python==2.0.2
|
kafka-python==2.0.2
|
||||||
tqdm
|
tqdm
|
||||||
tabulate==0.9.0
|
tabulate==0.9.0
|
||||||
|
kafka==1.3.5
|
||||||
Reference in New Issue
Block a user