From 6b5f41c32b8d8cea5890b744be7c6c5d1b783c99 Mon Sep 17 00:00:00 2001 From: michaelglenister Date: Wed, 14 Feb 2024 11:15:10 +0200 Subject: [PATCH] Filter titles --- .../data/members-interests/workbench/membersinterest.ipynb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pombola/south_africa/data/members-interests/workbench/membersinterest.ipynb b/pombola/south_africa/data/members-interests/workbench/membersinterest.ipynb index 002616a9c..c8ce502af 100644 --- a/pombola/south_africa/data/members-interests/workbench/membersinterest.ipynb +++ b/pombola/south_africa/data/members-interests/workbench/membersinterest.ipynb @@ -67,6 +67,9 @@ " person = person.replace(\"DR \", \"\")\n", " person = person.replace(\"REVEREND \", \"\")\n", " person = person.replace(\"DOCTOR \", \"\")\n", + " person = person.replace(\"ADVOCATE \", \"\")\n", + " person = person.replace(\"MAJOR GENERAL \", \"\")\n", + " person = person.replace(\"PRINCE \", \"\")\n", " person = person.replace(\",\", \"\")\n", " person = person.strip()\n", "\n",