aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/citco_ops/remote.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/citco_ops/remote.py b/python/citco_ops/remote.py
index 41db95e6..9a6daa80 100644
--- a/python/citco_ops/remote.py
+++ b/python/citco_ops/remote.py
@@ -73,7 +73,9 @@ class Report:
)
self._conn.commit()
if "strategy" in df.columns:
- df["strategy"] = df["strategy"].str.replace("/M_", "/")
+ df["strategy"] = (
+ df["strategy"].str.replace("/M_", "/").str.replace("/SER_", "/")
+ )
df.to_sql(self.table, dawn_engine, if_exists="append", index=False)