Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 14040

numpy reshape implementation

$
0
0

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!


Viewing all articles
Browse latest Browse all 14040

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>