To check if a numpy array is empty, use the array's .size attribute and check if it's equal to 0 (an array's size is zero if it has no elements).
確定! 回上一頁