FunctionRacerProblemsRace

Duplicate Emails

EasypandasPython

people has columns id and email. Return a list of the emails that appear in more than one row, each listed once, in alphabetical order.

Example 1

people {"id":[1,2,3],"email":["a@x.com","b@x.com","a@x.com"]}
returns ["a@x.com"]

Only a@x.com appears twice.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More pandas problems