新增差异值
This commit is contained in:
@@ -111,7 +111,7 @@ for key in six_map:
|
||||
if abs(six_price - five_price) * 100 / five_price > 10:
|
||||
actions.append({'city': info[0], 'region': info[1], 'commid': info[2], 'commname': info[3],
|
||||
'five_price': five_price,'five_calc_type': five_map[key].split("|")[1],
|
||||
'six_price': six_price,'six_calc_type': six_map[key].split("|")[1],
|
||||
'six_price': six_price,'six_calc_type': six_map[key].split("|")[1], '差异值': abs(six_price - five_price) * 100 / five_price,
|
||||
'涨跌幅': (six_price - five_price) * 100 / five_price, 'confidence': six_map[key].split("|")[2]})
|
||||
if info[0] not in city_seaweed_dict:
|
||||
city_seaweed_dict[info[0]] = 1
|
||||
@@ -147,6 +147,6 @@ city_count_df.to_excel(excel_writer, index=False, sheet_name='城市维度')
|
||||
#excel_writer.save()
|
||||
excel_writer.close()
|
||||
|
||||
up_to_nextcloud()
|
||||
#up_to_nextcloud()
|
||||
|
||||
send_msg()
|
||||
#send_msg()
|
||||
Reference in New Issue
Block a user