How can you programmatically determine if a NumPy array is empty or contains zero elements?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how to check reliably whether a NumPy array has zero elements, for any shape. Tests knowledge of array attributes, why len() and truthiness checks fail on some shapes, and how an empty array differs from one that holds only zeros.