Interview practice question
Finding a subtle bug in analysis code during review
Data Analyst · Python and Pandas · Experienced
While reviewing a colleague's code, totals in their report look slightly too high. What subtle pandas bugs would you look for?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Merge duplicating rows.
- Filters lost via chained assignment.
- NaN handling in sums/means.
- Inner joins dropping rows (too low) vs fan-out (too high).
- Index misalignment in assignments.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.