• 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-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

  • 2022-05-28 问题

    numpy中数组的什么方法可以用于指定数组元素的数据类型() A: dtype B: type C: astype D: ctype

    numpy中数组的什么方法可以用于指定数组元素的数据类型() A: dtype B: type C: astype D: ctype

  • 2022-06-18 问题

    请补全代码,修改数组a的类型为整数。 import numpy as np a = np.arange(12, dtype=float).reshape((3,4)) a = a. (int)

    请补全代码,修改数组a的类型为整数。 import numpy as np a = np.arange(12, dtype=float).reshape((3,4)) a = a. (int)

  • 1 2 3