Free practice
Python Interview Questions for Data Analysts
30 original interview-style problems solved in a real in-browser Python editor with NumPy and Pandas, instant answer checking and step-by-step solutions.
30 questions · 7 Easy · 18 Medium · 5 Hard
Showing 30 of 30 questions
- Clean messy city names from a CRM exportEasyStrings & Text CleaningZomatoRazorpay
- Total campaign revenue from prices and quantitiesEasyLists & LoopsFlipkartMeesho
- Count orders by payment channelEasyDictionariesPaytmSwiggy
- Bucket engagement scores into segmentsEasyFunctions & LogicDeloitteAccenture
- Median salary without using a libraryEasyStatisticsTCSInfosys
- Z-score normalise a spend array with NumPyMediumNumPyAmazonMyntra
- Rolling average of daily active usersMediumNumPyGoogleOla
- De-duplicate a signup table in pandasMediumPandas — CleaningZohoFreshworks
- Revenue by city with GroupByMediumPandas — GroupBySwiggyDunzo
- Join orders with the customer masterMediumPandas — JoinsAmazonNykaa
- Monthly active users from an event logMediumDates & Time SeriesMicrosoftPhonePe
- Top-selling product in every cityHardPandas — GroupByFlipkartWalmart
- Month-1 retention by signup cohortHardPandas — JoinsGoogleZomato
- RFM scoring for a customer baseHardPandas — CleaningNykaaDeloitte
- Pivot monthly revenue by city for the leadership deckMediumPandas — GroupBySwiggyNykaa
- Fill missing product ratings the defensible wayEasyPandas — CleaningAmazonNykaa
- Validate a join before you trust the numbersMediumPandas — JoinsRazorpayDeloitte
- De-duplicate CRM leads and keep the latest touchMediumPandas — CleaningSalesforceFreshworks
- Resample daily orders into a monthly summaryMediumDates & Time SeriesMyntraBigBasket
- Extract order IDs from support ticket textEasyStrings & Text CleaningZohoFreshworks
- Flag transaction outliers with the IQR ruleMediumStatisticsHDFCRazorpay
- Build a monthly cohort retention matrixHardPandas — GroupBySwiggyCred
- Compute profit margin per category with groupbyMediumPandas — GroupByDeloitteAccenture
- One-hot encode a categorical column for modellingMediumPandas — CleaningFractalMu Sigma
- Shrink a DataFrame's memory footprintMediumPandas — CleaningAmazonWalmart
- Unpivot a wide survey export into tidy rowsMediumPandas — CleaningDeloitteNielsen
- Produce a data-quality audit for a raw extractHardPandas — CleaningAccentureEY
- Show each category as a percent of its city revenueMediumPandas — GroupByNykaaTata CLiQ
- Report week-over-week growth in ordersMediumDates & Time SeriesZeptoPhonePe
- Forward-fill sparse inventory snapshots to a daily seriesMediumDates & Time SeriesBigBasketWalmart
Python practice FAQs
How the in-browser Python editor works, how answers are checked, and how much practice Indian data-analyst interviews actually expect.
Want to go from practice to placement?
Our live cohorts take you from Python and Pandas fundamentals to agentic analytics projects, portfolio reviews and mock interviews with mentor feedback.