修复美团m_date报错
This commit is contained in:
@@ -23,6 +23,7 @@ path = "/home/airflow/data/mt"
|
||||
output_date = sys.argv[1] if len(sys.argv) > 1 else dateutils.format_date(datetime.datetime.now(), '%Y%m')
|
||||
|
||||
seaweed_new_result_df = tmp_ck.read_sql_query("select * from mt_community")
|
||||
del seaweed_new_result_df['m_date']
|
||||
|
||||
if 'avg_price' in seaweed_new_result_df:
|
||||
seaweed_new_result_df = seaweed_new_result_df.drop(columns=['avg_price', 'rent_price'])
|
||||
|
||||
Reference in New Issue
Block a user