E9001 Array Errors
array-is-empty
operation requires non-empty array
When this occurs
Operations on empty array like pop, shift, min, max, avg
Example error message
error[E9001]:
operation requires non-empty array
How to fix
Check that the array is not empty before performing the operation using `len(arr) > 0`.