What is the difference between ndarray and array in numpy?

前端 未结 5 1737
一个人的身影
一个人的身影 2020-11-28 01:27

What is the difference between ndarray and array in Numpy? And where can I find the implementations in the numpy source code?

5条回答
  •  暖寄归人
    2020-11-28 01:51

    numpy.array is a function that returns a numpy.ndarray. There is no object type numpy.array.

提交回复
热议问题