Pandas · Polars · NumPy48 Auto-Graded Problems

Data Manipulation Interview Problems (Pandas & NumPy)

Master fast, vectorized Python data wrangling with Pandas and NumPy — covering joins, groupby transforms, pivoting, time-series windows, and production feature engineering.

Loading Data Manipulation problems...

What You'll Master in Data Manipulation

Core interview patterns and implementation skills tested across these 48 problems:

  • Vectorized Pandas filtering, groupby aggregations & transform broadcasting
  • Multi-table merges, anti-joins, pivoting & wide-to-long reshaping
  • Time-series resampling, lag features, rolling windows & session grouping
  • Missing-value imputation, outlier clipping & leak-free feature prep

Frequently Asked Questions — Data Manipulation

Why do Data Science interviews heavily test Pandas and NumPy?

Before any model trains, 70%+ of real DS/ML work is cleaning messy tables, joining event logs, and engineering leak-free features — interviewers check whether you write clean vectorized code instead of slow Python loops.

Are Polars or pure NumPy supported alongside Pandas?

Our Python data runner includes Pandas and NumPy pre-installed, and each problem specifies the exact expected return type (DataFrame, Series, or ndarray).

What Pandas bugs do candidates most often hit in interviews?

Forgetting index alignment after merges, mutating slices (`SettingWithCopyWarning`), computing rolling means without `.shift(1)` (data leakage), and mishandling NaN values in groupby keys.

How can I prepare for Pandas + SQL interviews together?

Alternate between this Data Manipulation track and our SQL for Data Science track — many business analytics patterns (cohorts, top-K per group, rolling metrics) appear in both!