To convert a Boolean array a to an integer array, use the a.astype(int) method call. The single argument int specifies the desired data type of each array item.
確定! 回上一頁