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.
- Why does a successful CSV import not guarantee correct arithmetic?
- What is the difference between a Series and a DataFrame?
- When do
locandilocreturn different rows? - Why use
locfor assignment? - What does
groupby().transform()return thatagg()does not? - How can a merge multiply rows?
- Why is a forward-filled temperature not a measured temperature?
- What must happen before monthly resampling?
- What is the grain of the two shop files?