I have a lists of names around 200-300k
For eg.
| Names1 | Names2 |
|---|---|
| Mr.Reven | Alex |
| Freddie | Keven |
| Miss.Grey | Moeen |
| James | Shayne |
| Neoveeen | Frey |
| Boult | mcKay |
| Dr.Alen | Adames |
| Alsray | Miss. Slout |
Names1 should be compared with Names2 with each and every value and then my pandas code should create different clusters like cluster-1, Cluster-2, Cluster-3 etc. And in those cluster there should be a list of similar names( with honorifics removed prefix or suffix) with similarly greater than 90%
For eg.
| Cluster-1 | Cluster-2 | Cluster-3 |
|---|---|---|
| Frey | Reven | Moeen |
| Grey | Keven | Neoveeen |
Is there any way to do that in pandas?