Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ shape
Function
shape
numpy/ma/core.py:7773–7775 ·
view source on GitHub ↗
maskedarray version of the numpy function.
(obj)
Source
from the content-addressed store, hash-verified
7771
7772
7773
def
shape(obj):
7774
"maskedarray version of the numpy function."
7775
return
np.shape(getdata(obj))
7776
7777
7778
shape.__doc__ = np.shape.__doc__
Callers
7
test_testAverage3
Method · 0.90
test_testBasic1d
Method · 0.90
test_testBasic2d
Method · 0.90
test_testOddFeatures
Method · 0.90
test_testAverage2
Method · 0.90
test_basic2d
Method · 0.90
test_oddfeatures_1
Method · 0.90
Calls
2
getdata
Function · 0.85
shape
Method · 0.45
Tested by
7
test_testAverage3
Method · 0.72
test_testBasic1d
Method · 0.72
test_testBasic2d
Method · 0.72
test_testOddFeatures
Method · 0.72
test_testAverage2
Method · 0.72
test_basic2d
Method · 0.72
test_oddfeatures_1
Method · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…