InterviewStack.io LogoInterviewStack.io

End To End Data Preprocessing & Exploration Questions

Follow a systematic, tool-agnostic data pipeline before deeper analysis: load the data, check shape and dtypes, identify missing values and duplicates, explore distributions, check for outliers, understand class or category balance where relevant, and summarize key statistics. Document findings and build visualizations that surface relationships in the data. This exploration is the foundation for whatever comes next: feature engineering and model selection for predictive/ML work, or clean aggregations and trustworthy KPIs for dashboards and reporting.

MediumTechnical
25 practiced
Write Python code to compute Variance Inflation Factor (VIF) for each numeric feature in a pandas DataFrame (exclude the target). Explain how to interpret VIF values and recommend actions if one or more features have VIF > 10.
MediumTechnical
32 practiced
Given transactions with columns (user_id, purchase_amount, product_category) where purchase_amount may be missing, write pandas code to impute missing purchase_amount with the median per product_category and fall back to the global median when a category median is missing. Show concise, efficient code that avoids explicit Python loops.
EasyTechnical
31 practiced
Explain the difference between z-score standardization and min-max scaling. When would you prefer RobustScaler (median and IQR) over StandardScaler? Give concrete examples of model types and data distributions where each is appropriate.
EasyTechnical
34 practiced
Given a SQL table orders(order_id PK, user_id, amount, order_ts timestamp), write a PostgreSQL query to find possible duplicate orders defined as same user_id and amount within 1 minute. Return offending order_id pairs and explain how you'd flag or remove duplicates safely.
EasyTechnical
26 practiced
For a numeric feature 'session_duration', list the summary statistics you would compute during EDA (e.g., mean, median, std, skew, kurtosis, IQR, percentiles). Explain what each statistic tells you about the data distribution and how specific values (e.g., mean >> median) would influence preprocessing decisions such as applying transformations or removing outliers.

Unlock Full Question Bank

Get access to hundreds of End To End Data Preprocessing & Exploration interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.