aboutsummaryrefslogtreecommitdiffstats
path: root/python/load_globeop_report.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/load_globeop_report.py')
-rw-r--r--python/load_globeop_report.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/load_globeop_report.py b/python/load_globeop_report.py
index f2ee406d..f6e13304 100644
--- a/python/load_globeop_report.py
+++ b/python/load_globeop_report.py
@@ -29,6 +29,9 @@ def read_valuation_report(f):
df['row'] = df.index
if 'AccountingPeriod' in df:
del df['AccountingPeriod']
+ if 'CounterParty' in df:
+ del df['CounterParty']
+ df = df.rename(columns={'CounterPartyCode': 'counterparty'})
if "Strat" in df:
df.Strat = df.Strat.str.replace("^(SERCGMAST__){1,2}(M_|SER_)?", "", 1)
if "Port" in df: