diff options
| -rw-r--r-- | python/markit_red.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/markit_red.py b/python/markit_red.py index a3b3fff3..1d47d3e8 100644 --- a/python/markit_red.py +++ b/python/markit_red.py @@ -83,6 +83,7 @@ def update_redcodes(fname): ) df_maturity.tenor = df_maturity["tenor"].map(lambda s: s.lower() + "r") df_maturity.coupon = (pd.to_numeric(df_maturity.coupon) * 10000).astype(int) + serenitas_engine.execute("TRUNCATE index_version_markit CASCADE") df_version.to_sql( "index_version_markit", serenitas_engine, index=False, if_exists="append" ) |
