🎯 03 — Technical Interview Questions¶
Python / Pandas¶
Q: How do you handle missing values?
Inspect missingness, understand cause, choose drop/fill/model-based strategy, and document the decision.
Q: Difference between .loc and .iloc?
.locuses labels;.ilocuses integer positions.
Machine Learning¶
Q: What is overfitting?
High performance on training data but poor generalization to unseen data.
Q: How do you prevent leakage?
Split before preprocessing, use pipelines, and remove future/target-derived features.
Metrics¶
Q: Precision vs recall?
Precision controls false positives; recall controls false negatives.
Q: When is accuracy misleading?
With imbalanced classes or unequal error costs.