This commit is contained in:
Jian Shen
2022-06-29 11:20:19 +08:00
parent 7ea6ac2fe1
commit 98531fb57b
+2 -2
View File
@@ -11,7 +11,7 @@ district_stat_conn = MAIN_MONGO_CLIENT.get_collection('fangjia_stat', 'district_
sqmetre_rent_conn = MAIN_MONGO_CLIENT.get_collection('fangjia', 'sqmetre_rent')
city_df = pd.read_excel('data/美团19城市列表.xlsx')
city_df = pd.read_excel('/opt/airflow/dags/repo/dags/mt/supply/data/美团19城市列表.xlsx')
cities = city_df['城市列表'].values.tolist()
path = "/home/airflow/data/mt"
@@ -30,7 +30,7 @@ logging.info("日期信息:" + month_start + ' ' + curr_month_start)
month_start_date = dateutils.parse_date(month_start, '%Y%m%d')
curr_month_start_date = dateutils.parse_date(curr_month_start, '%Y%m%d')
threshold_df = pd.read_excel('data/租金和房价设置阀值(19个城市).xlsx')
threshold_df = pd.read_excel('/opt/airflow/dags/repo/dags/mt/supply/data/租金和房价设置阀值(19个城市).xlsx')
min_rent = dict()
max_rent = dict()
min_price = dict()