def main():
date_cols = [iem.ORDER_DATE, iem.EXPIRATION]
kwargs = dict(index_col=iem.ORDER_DATE, parse_dates=date_cols)
dfs = pd.read_html(table_text, **kwargs)
df = dfs[0]
oid_df = pd.DataFrame()
cxl_o = iem.CANCEL_ORDER
df[cxl_o] = df[cxl_o].combine_first(oid_df[cxl_o])
评论列表
文章目录