什么意思是“内置函数数组”

时间:2019-07-23 17:10:45

标签: python arrays numpy

我在Python中有一些代码。它构建了一个数组,我想继续研究。 但是,如果我打印此数组,则第一行是:“内置函数数组”。什么意思我怎样才能解决这个问题,以便拥有一个普通的Numpy Array? 我使用此代码:

X = numpy.array
img = load_img("picturesready\\penguin\\" + path_penguin[i])
Z = img_to_array(img)
Z.flatten("F")
Z.astype(str)
X = numpy.append(X,Z)

非常感谢您

0 个答案:

没有答案
相关问题