← All Python interview questions

Report week-over-week growth in orders

MediumDates & Time SeriesZeptoPhonePe

The weekly business review needs order growth versus the previous week.

Write wow_growth(df) that resamples the daily orders column into weekly totals (weeks ending Sunday) and returns a Series of the percentage change versus the previous week, rounded to 1 decimal. The first week has no prior week, so it must be 0.0.

Practising alone only goes so far — our live cohorts pair Python and Pandas depth with dashboards, agentic analytics projects and mock interviews.

Explore the program