main
Guofu Li 2 years ago
parent 94314df941
commit 57d0c7954f

@ -390,7 +390,7 @@ class DDBHFTLoader(DDBLoader):
# 这里只把日期值不再`_journal_dt`的记录放入`row_list` # 这里只把日期值不再`_journal_dt`的记录放入`row_list`
if _journal_dt is not None: if _journal_dt is not None:
row_list = [row for row in row_list row_list = [row for row in row_list
if pd.to_datetime(row[1]) not in _journal_dt] if pd.to_datetime(row[1]) not in _journal_dt.index]
print(f"Resume job for {stock_id}, with {len(row_list)} rows left.") print(f"Resume job for {stock_id}, with {len(row_list)} rows left.")
num_rows = len(row_list) num_rows = len(row_list)

Loading…
Cancel
Save