Get the data type of an array containing strings: import numpy as np arr = np.array(['apple', 'banana', 'cherry']) print(arr.dtype).
確定! 回上一頁