What is the difference between indexing an array with arr[i, j] versus arr[i][j] in NumPy?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks how NumPy evaluates arr[i, j] compared with the chained arr[i][j]. Tests whether you know when the two forms agree, how they behave with slices and integer-array indexing, why one is faster, and what happens when you assign through a chained index.