How do you perform element-wise arithmetic operations on NumPy arrays?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how to do element-wise arithmetic on NumPy arrays with operators and ufuncs. It tests combining arrays with scalars and with arrays of other shapes through broadcasting, the dtype limits of in-place operations, and the difference between element-wise and matrix multiplication.