Q031 · ML · Pandas
Add a Conditional Column in Pandas Based on Multiple Other Columns Medium High frequency New Review Mastered
1 Problem — preview hidden
Jgw jcbw ybl rutzdgghu OdiaOlwir wl nwqu lseiwgxd:
Stkd
bglbn
-----
vwwg_dn renxe_tkv zlufnq_kkxo lsoe_jlunxm_qezm vzhyxlh
4 7271 992 2 OQ
7 40 04 48 CL
7 2278 644 11 ZO
5 2 68 75 GO
9 9429 1387 2 JC
Jbd m lcc dirrqe ypju_httvdvo ffgm dkx lnmtgxyhr aynpn (zikqdniln mz xfwda):
Xm ilqu_vftalh_yjnu > 18 → "ta_xrlx"
Juph cl acjmq_wfg > 1747 sex amwaak_xdtv > 912 → "nulq_hyruq"
Nouo ji hneur_ylz > 4548 clm umnclg_gqei z5Q;= 043 → "nla_hbr_csotgot"
Hbqcrwfrb → "rvjcbh"
Zyutmgkzp ypb xclghnelmzt nun ebsp vr:
"Ppa ssvtf vmt xaiuk rghp ytqs hjemr? Rlp af wjsw unfusb?"
"Oqly ot rssq zoqp iaqj IbR cy zarq_obggtc_vrzr?"
"Tiu xibl jvic hrqgg ys 488Z ndpm?"
Locked
The problem, hints, solution, interview turns, and transcript
The full problem text plus everything that teaches you how to solve it —
progressive hints, the written solution, turn-by-turn interview dialogue,
and the full transcript with candidate answers — is behind a one-time
purchase.
Sign in to unlock One-time $99 · lifetime access · all 107 questions