Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ ndarray_shape_manipulation.py
File
ndarray_shape_manipulation.py
numpy/typing/tests/data/pass/ndarray_shape_manipulation.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
numpy
as
np
2
3
nd1 = np.array([[1, 2], [3, 4]])
4
Callers
nothing calls this directly
Calls
5
reshape
Method · 0.80
resize
Method · 0.80
flatten
Method · 0.80
ravel
Method · 0.45
squeeze
Method · 0.45
Tested by
no test coverage detected