单项选择题
Numpy库定义一维数组时,下列能正确返回结果的是()
A.numpy.arange(0:3)
B.numpy.arange(0,3,1)
C.numpy.range(0:3)
D.numpy.range(0,3,1)
点击查看答案
相关考题
-
单项选择题
使用openCV读取一张图像返回img,下列说法正确的是()
A.img.itemsize属性返回img中每个元素大小
B.img.dtype属性返回img中元素类型
C.img.data属性返回img的数据
D.img.flat属性返回img的维度 -
单项选择题
下列选项中()可以使用matplotlib绘制线性线段图。
A.matplotlib.pyplot.figure(numpy.arange(7))
B.matplotlib.pyplot.plot(numpy.arange(7))
C.matplotlib.pyplot.figure(numpy.arange(8))
D.matplotlib.pyplot.plot(numpy.arange(8)) -
单项选择题
下列python库或模块中,主要用于解析JSON文档的是()
A.BeautifulSoup
B.HTML
C.XML
D.json
