23 lessons
Data Tools · Module 2Module material

pandas interview questions

9 questions interviewers ask on this module’s topics, from first principles to the follow-ups. Each comes with a model answer.

  1. Why does a successful CSV import not guarantee correct arithmetic?
  2. What is the difference between a Series and a DataFrame?
  3. When do loc and iloc return different rows?
  4. Why use loc for assignment?
  5. What does groupby().transform() return that agg() does not?
  6. How can a merge multiply rows?
  7. Why is a forward-filled temperature not a measured temperature?
  8. What must happen before monthly resampling?
  9. What is the grain of the two shop files?

Directory listings

  • SchoolWhool on Siteefy