This commit is contained in:
Jian Shen
2022-07-04 18:45:22 +08:00
parent b82890212c
commit fd6bb61a9c
-2
View File
@@ -19,8 +19,6 @@ path = "/home/airflow/data/mt"
output_date = sys.argv[1] if sys.argv[1] else dateutils.format_date(datetime.datetime.now(), '%Y%m')
seaweed_new_result_df = pd.read_csv(path + '/FJW_COMM_' + output_date + '.csv', sep='@', encoding='utf-8')
month_start = dateutils.format_date(dateutils.add_months(dateutils.parse_date(output_date, '%Y%m'), months=-1), '%Y%m') + '01'
curr_month_start = output_date + '01'
logging.info("日期信息:" + month_start + ' ' + curr_month_start)