diff --git a/.ipynb_checkpoints/main-checkpoint.ipynb b/.ipynb_checkpoints/main-checkpoint.ipynb index 87a7667..a2888b8 100644 --- a/.ipynb_checkpoints/main-checkpoint.ipynb +++ b/.ipynb_checkpoints/main-checkpoint.ipynb @@ -147,7 +147,9 @@ " )\n", " cols = [\"Focal_id\", \"Total_Wire_Deposit_Amt\",\n", " \"Segment\", \"Risk\", \"SAR_FLAG\"]\n", + " \n", " df = pd.DataFrame(row_list, columns = cols)\n", + " df['Total_Wire_Deposit_Amt'] = df['Total_Wire_Deposit_Amt'].astype('int')\n", " # df['Segment'] = 'Individual'\n", " \n", " p98 = (\n", diff --git a/main.ipynb b/main.ipynb index 87a7667..a2888b8 100644 --- a/main.ipynb +++ b/main.ipynb @@ -147,7 +147,9 @@ " )\n", " cols = [\"Focal_id\", \"Total_Wire_Deposit_Amt\",\n", " \"Segment\", \"Risk\", \"SAR_FLAG\"]\n", + " \n", " df = pd.DataFrame(row_list, columns = cols)\n", + " df['Total_Wire_Deposit_Amt'] = df['Total_Wire_Deposit_Amt'].astype('int')\n", " # df['Segment'] = 'Individual'\n", " \n", " p98 = (\n", diff --git a/main.py b/main.py index f3efe41..8cbee45 100644 --- a/main.py +++ b/main.py @@ -100,7 +100,9 @@ class Scenario: ) cols = ["Focal_id", "Total_Wire_Deposit_Amt", "Segment", "Risk", "SAR_FLAG"] + df = pd.DataFrame(row_list, columns = cols) + df['Total_Wire_Deposit_Amt'] = df['Total_Wire_Deposit_Amt'].astype('int') # df['Segment'] = 'Individual' p98 = (