AnalystPath

Recruiters Who Never Staffed Helix

PandasEasyJunior level~10 min

Problem

Three DataFrames describe a staffing agency: `Recruiter(recruiter_id, recruiter_name, base_pay)`, `ClientFirm(firm_id, firm_name)`, and `Placement(placement_id, firm_id, recruiter_id)` where each placement row records a recruiter who staffed a hire at a client firm.

Report the name of every recruiter who has **never** made a placement at the firm named `Helix`. Return a single column `recruiter_name`.

Input data

Example rows — the live problem includes the full dataset.

recruiter
recruiter_idrecruiter_namebase_pay
1Dana90000
2Omar72000
3Priya81000
4Tomas64000
5Lena58000
clientfirm
firm_idfirm_name
1Helix
2Vertex
3Quanta
4Nimbus
placement
placement_idfirm_idrecruiter_id
134
245
311
414

Expected output

Your answer should return 3 rows with the columns recruiter_name.

Starter code (Pandas (Python))

import pandas as pd

def recruiters_never_at_helix(recruiter: pd.DataFrame, clientfirm: pd.DataFrame, placement: pd.DataFrame) -> pd.DataFrame:
    # Your code here
    return recruiter

Solve this Pandas question free

Write Pandas (Python) and run it instantly in your browser — even on your phone. No signup needed to try.

Solution & explanation

Create a free account to unlock the optimal solution, a step-by-step explanation, and the hidden test cases that grade your answer.

Sign up free to unlock

Related Pandas questions