What is the role of indexes in Pandas DataFrames?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks what the index of a pandas DataFrame does and why it matters. It tests label and positional lookup, automatic alignment in arithmetic and assignment, index-based joins and grouping, MultiIndex use, and the performance of unique or sorted indexes.