diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/load_globeop_report.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/load_globeop_report.py b/python/load_globeop_report.py index 93d8e889..41b8ef81 100644 --- a/python/load_globeop_report.py +++ b/python/load_globeop_report.py @@ -38,6 +38,7 @@ def read_valuation_report(f): if "CounterParty" in df: del df["CounterParty"] df = df.rename(columns={"CounterPartyCode": "counterparty"}) + df.counterparty = df.counterparty.str.replace("BARC$", "BARCNY") if "Strat" in df: df.Strat = df.Strat.str.replace("^(SERCGMAST__){1,2}(M_|SER_)?", "", 1) df = df.replace({"Strat": {"TCDSCSH": "TCSH", "MTG_CRT_LD": "CRT_LD"}}) |
