Create an object array to hold numbers as well as strings. arr1d_obj = np.array([1, 'a'], dtype='object') Finally, you can always convert an array back to a ...
確定! 回上一頁