What is the difference between ndarray and array in numpy?

前端 未结 5 1735
一个人的身影
一个人的身影 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:50

    I think with np.array() you can only create C like though you mention the order, when you check using np.isfortran() it says false. but with np.ndarrray() when you specify the order it creates based on the order provided.

提交回复
热议问题