Changing dtype of a numpy array of lists

后端 未结 0 1228
没有蜡笔的小新
没有蜡笔的小新 2021-01-25 12:50

I have numpy arrays that consists of lists of differing lengths. Example:

x = np.array([[1,2,3],[4,5]])

x is of dtype=object

相关标签:
回答
  • 消灭零回复
提交回复
热议问题