单选题 代码“np.linspace(1,10,10)”的运行结果是(  )

A、 [1.,2.,3.,4.,5.,6.,7.,8.,9.]
B、 [1,2,3,4,5,6,7,8,9]
C、 [1.,2.,3.,4.,5.,6.,7.,8.,9.,10.]
D、 [1,2,3,4,5,6,7,8,9,10]
下载APP答题
由4l***bh提供 分享 举报 纠错

相关试题

单选题 下列选项中,可以调整数组形状的方法是( (  )c )。

A、ndarray.change
B、ndarray.reshape
C、ndarray.shape
D、ndarray.rechange

单选题 下列选项中,表示数组每个元素大小的是(  )。

A、ndim
B、shape
C、size
D、itemsize

单选题 下列选项中,表示数组形状的是(  )。

A、ndim
B、shape
C、size
D、dtype

单选题 代码“np.arange(0,1,0.2)”的运行结果是(  )

A、[0.,0.2,0.4,0.6,0.8]
B、[0.,0.2,0.4,0.6,0.8,1.0]
C、[0.2,0.4,0.6,0.8]
D、[0.2,0.4,0.6,0.8,1.0]

单选题 下列选项中,表示数组数据类型的是(  )。

A、ndim
B、shape
C、size
D、dtype

单选题 下列选项中,表示数组维度的是(  )。

A、ndim
B、shape
C、size
D、dtype

单选题 代码“np.linspace(0,10,5)”的运行结果是(  )

A、[0,2.5,7.5]
B、[0.,2.5,5.,7.5,10.]
C、[0,2.5,7.5]
D、[0,2.5,5,7.5,10]

单选题 下列选项中,表示数组元素个数的是(  )。

A、ndim
B、shape
C、size
D、dtype