My main focus will on this page.
First, I don't understand the page. For the first parameter shape
,
ndarray.reshape(shape, order='C')
why this method on ndarray allows the elements of the shape parameter to be passed in as separate arguments
?
That is, why does this implementation allow a.reshape(10, 11)
?
Second, I am wondering where the implementation on GitHub is? Searching the whole sentence "Returns an array containing the same data with a new shape" does not give me a correct link on GitHub. My attempt.
Thank you!