aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/bondallocation_email.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/python/bondallocation_email.py b/python/bondallocation_email.py
index 1e805988..1e8bef32 100644
--- a/python/bondallocation_email.py
+++ b/python/bondallocation_email.py
@@ -47,10 +47,8 @@ if __name__ == "__main__":
for row in d
]
buf = StringIO()
- bondtrade = (
- df[df["tradeid"] == row.tradeid]
- .drop(columns=["allocation_contacts", "tradeid"])
- .round(2)
+ bondtrade = df[df["tradeid"] == row.tradeid].drop(
+ columns=["allocation_contacts", "tradeid"]
)
bondtrade.to_csv(buf, index=False)
body = (