Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Rolling Average in Pandas

Medium
MediumSQL & Data ManipulationDate FunctionsData WranglingRunning TotalsAsked 1 times

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 Factored

Hi, 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.

Take this as a live interview session →

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
Factored Data Scientist Interview Questions
Next questions
KnownRolling 7-Day Purchase AverageMediumMcdonald'S Global Office In IndiaRolling 7-Day Store AveragesMediumTiger AnalyticsPython Rolling Sales AverageMedium