You can convert numpy array elements to int using the astype() method. You have to just pass the entire array inside the function. Run the below code. For 1D ...
確定! 回上一頁