Skip to content
Advertisement

Tag: redaction

Using spacy to redact names from a column in a data frame

I have a data frame named “df1”. This data frame has 12 columns. The last column in this data frame is called notes. I need to replace common names like “john, sally and richard” from this column and replace the values with xxxx or something similar. I have a working script that is creating this data frame from MS SQL.

Advertisement