优化参数
This commit is contained in:
@@ -16,7 +16,7 @@ if not os.path.exists(path):
|
||||
city_df = pd.read_excel('/opt/airflow/dags/repo/dags/mt/supply/data/美团19城市列表.xlsx')
|
||||
cities = city_df['城市列表'].values.tolist()
|
||||
|
||||
output_date = len(sys.argv) > 1 if sys.argv[1] else dateutils.format_date(datetime.datetime.now(), '%Y%m')
|
||||
output_date = sys.argv[1] if len(sys.argv) > 1 else dateutils.format_date(datetime.datetime.now(), '%Y%m')
|
||||
print("输出日期" + output_date)
|
||||
|
||||
seaweed_df = pd.DataFrame()
|
||||
|
||||
Reference in New Issue
Block a user