|
@@ -502,7 +502,7 @@ def predict_data_simple(df_input, city_pair, object_dir, predict_dir=".", pred_t
|
|
|
dur_delta = dur_num_chk - float(dur_base)
|
|
dur_delta = dur_num_chk - float(dur_base)
|
|
|
df_match_chk = df_match_chk.assign(dur_delta=dur_delta)
|
|
df_match_chk = df_match_chk.assign(dur_delta=dur_delta)
|
|
|
df_match_chk = df_match_chk.loc[df_match_chk['dur_delta'].notna()].copy()
|
|
df_match_chk = df_match_chk.loc[df_match_chk['dur_delta'].notna()].copy()
|
|
|
- # df_match_chk = df_match_chk.loc[df_match_chk['dur_delta'].abs() <= 72].copy()
|
|
|
|
|
|
|
+ df_match_chk = df_match_chk.loc[df_match_chk['dur_delta'].abs() <= 72].copy()
|
|
|
|
|
|
|
|
# 所有条件都对的上
|
|
# 所有条件都对的上
|
|
|
if not df_match_chk.empty:
|
|
if not df_match_chk.empty:
|