Problem
Given a dataset of user transactions, write a Pandas script to calculate the rolling 7-day average of purchase amounts.
Practicing as: Data Scientist interview at FactoredHi, I'll play your Factored interviewer for the Data Scientist role. Candidates describe these interviews as mixed and hard, so expect me to be structured and detail-hungry. 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.


