Interview Q&A · questions with model answers

pandas Interview Questions

Part of the study plan for: Machine Learning Engineer · Data Engineer

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Explain groupby in pandas: split-apply-combine, agg, transform and filter.

    groupby splits rows into groups by keys, applies a function to each group, and combines the results. agg returns one row per group (sums, means), transform returns a value per original row (for…

Was this page helpful?

Report a mistake