Problem
Given a dataset of ad impressions and clicks, write a Python program using numpy or pandas to calculate the click-through rate (CTR) grouped by campaign and device type at Moloco.
Practicing as: Data Scientist interview at MolocoHi, I'll play your Moloco interviewer for the Data Scientist role. Candidates describe these interviews as often stressful and moderately difficult, so expect me to be direct and to the point. Take your time with the question above and answer like we're in the room.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

