diff options
| -rw-r--r-- | python/quote_parsing/parse_emails.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/quote_parsing/parse_emails.py b/python/quote_parsing/parse_emails.py index 3504e17c..8f01d0ac 100644 --- a/python/quote_parsing/parse_emails.py +++ b/python/quote_parsing/parse_emails.py @@ -54,7 +54,7 @@ def makedf(r, indextype, quote_source): df[col] = df[col].str.rstrip("%").astype("float") / 100 except ValueError: # typo in one email df[col] = ( - pd.to_numeric(df[col].str.rstrip("%").str.replace("n", "")) / 100 + pd.to_numeric(df[col].str.replace("n", "").str.rstrip("%")) / 100 ) if quote_source == "GS": for col in ["pay_bid", "pay_offer", "rec_bid", "rec_offer"]: |
