Person
table based on the email
column.id
from the first instance of the table (p1) is greater than the id
from the second instance (p2).Person
table.person
DataFrame by the email
column.transform
method with 'min' to find the minimum id
for each email group.id
in each row to the minimum id
for that email, and identify rows where the id
does not match the minimum.person
DataFrame.erDiagram Person { int id PK varchar email }