• 2022-06-01 问题

    关于numpy的使用,错误的是()。 A: numpy.array([x,y,z],dtype)创建数组 B: numpy.ones((m,n),dtype)创建全为1的数组 C: numpy.equal(x1,x2)判断两个数组整体是否一样,返回一个True或False D: numpy.shape返回数组在每个维度上的大小

    关于numpy的使用,错误的是()。 A: numpy.array([x,y,z],dtype)创建数组 B: numpy.ones((m,n),dtype)创建全为1的数组 C: numpy.equal(x1,x2)判断两个数组整体是否一样,返回一个True或False D: numpy.shape返回数组在每个维度上的大小

  • 2022-05-29 问题

    生成一个3行4列全0的ndarray对象a的语句是: A: a = np.zeros((3,4), dtype='int32') B: a = np.zeros((3,4)) C: a = np.zeros((3,4), dtype=float) D: a = np.zeros((4,3))

    生成一个3行4列全0的ndarray对象a的语句是: A: a = np.zeros((3,4), dtype='int32') B: a = np.zeros((3,4)) C: a = np.zeros((3,4), dtype=float) D: a = np.zeros((4,3))

  • 2022-06-18 问题

    Series的参数包括( ) A: data B: dtype C: Index D: Columns

    Series的参数包括( ) A: data B: dtype C: Index D: Columns

  • 2022-05-28 问题

    下面程序的执行结果是______。import tensorflow as tfimport numpy as npx = tf.Variable(np.random.randn(3, 1))print(x.dtype) A: float32 B: float64 C: int64 D: int32

    下面程序的执行结果是______。import tensorflow as tfimport numpy as npx = tf.Variable(np.random.randn(3, 1))print(x.dtype) A: float32 B: float64 C: int64 D: int32

  • 2022-05-31 问题

    下面哪些命令不可以显示文本文件的内容?() A: Amore B: Bvi C: Cman D: Dtype

    下面哪些命令不可以显示文本文件的内容?() A: Amore B: Bvi C: Cman D: Dtype

  • 2021-04-14 问题

    生成一个3行4列全0的ndarray对象a的语句是 a = np._______((3,4), dtype='int32')

    生成一个3行4列全0的ndarray对象a的语句是 a = np._______((3,4), dtype='int32')

  • 2022-06-29 问题

    下列数据类型中,不属于Python内置数据类型的是: A: str B: float C: dtype D: bool

    下列数据类型中,不属于Python内置数据类型的是: A: str B: float C: dtype D: bool

  • 2022-06-04 问题

    下列选项中,用来表示数组维度的属性是( )。 A: .size B: ndim C: shape D: dtype

    下列选项中,用来表示数组维度的属性是( )。 A: .size B: ndim C: shape D: dtype

  • 2022-05-29 问题

    若有语句:a= np.array([[1,2,3],[4,5,6]],dtype = np.int64),则a.itemsize的值为______

    若有语句:a= np.array([[1,2,3],[4,5,6]],dtype = np.int64),则a.itemsize的值为______

  • 2022-05-29 问题

    numpy中ndarray数组元素的数据类型可以通过属性获得。 A: dtype B: shape C: type D: arrange

    numpy中ndarray数组元素的数据类型可以通过属性获得。 A: dtype B: shape C: type D: arrange

  • 1 2 3 4 5 6 7 8 9 10