Kyubyong/numpy_exercises

The different between numpy function and ndarray method

Xls1994 opened this issue · 2 comments

Hi, I have a small confused with numpy.
For example, we can use the numpy.reshape(x,(1,3)) to reshape a array. Also we can use x.reshape((1,3)) to do this. What is the major difference between the two ? Thank you !

I think both are identical.

Thanks for your answer!