Skip to content

Commit 733a602

Browse files
authored
Update getting-started.ipynb
1 parent c692769 commit 733a602

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/getting-started.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"outputs": [],
4848
"source": [
4949
"import requests\n",
50-
"from datafog import PresidioEngine as datafog\n",
50+
"from datafog import PresidioEngine as presidio\n",
5151
"import pandas as pd"
5252
]
5353
},
@@ -99,7 +99,7 @@
9999
"print(df)\n",
100100
"\n",
101101
"def scan_text(text):\n",
102-
" return datafog.scan(text)\n",
102+
" return presidio.scan(text)\n",
103103
"\n",
104104
"df['scan_results'] = df['text'].apply(scan_text)\n"
105105
]
@@ -128,10 +128,10 @@
128128
"source": [
129129
"ceo_email_chunk = \"I'm announcing on Friday that Jeff is going to be CTO.\"\n",
130130
"\n",
131-
"scan_results1 = datafog.scan(ceo_email_chunk)\n",
131+
"scan_results1 = presidio.scan(ceo_email_chunk)\n",
132132
"print(\"PII Detected - base case:\", scan_results1)\n",
133133
"\n",
134-
"scan_results2 = datafog.scan(ceo_email_chunk, deny_list=['CTO'])\n",
134+
"scan_results2 = presidio.scan(ceo_email_chunk, deny_list=['CTO'])\n",
135135
"print(\"PII Detected with deny list:\", scan_results2)"
136136
]
137137
}

0 commit comments

Comments
 (0)