MCPcopy Create free account
hub / github.com/numpy/numpy / shape

Function shape

numpy/ma/core.py:7451–7453  ·  view source on GitHub ↗

maskedarray version of the numpy function.

(obj)

Source from the content-addressed store, hash-verified

7449
7450
7451def shape(obj):
7452 "maskedarray version of the numpy function."
7453 return np.shape(getdata(obj))
7454shape.__doc__ = np.shape.__doc__
7455
7456

Callers 9

_rcMethod · 0.90
user_array.pyFile · 0.90
test_testAverage3Method · 0.90
test_testBasic1dMethod · 0.90
test_testBasic2dMethod · 0.90
test_testOddFeaturesMethod · 0.90
test_testAverage2Method · 0.90
test_basic2dMethod · 0.90
test_oddfeatures_1Method · 0.90

Calls 2

getdataFunction · 0.85
shapeMethod · 0.45

Tested by 7

test_testAverage3Method · 0.72
test_testBasic1dMethod · 0.72
test_testBasic2dMethod · 0.72
test_testOddFeaturesMethod · 0.72
test_testAverage2Method · 0.72
test_basic2dMethod · 0.72
test_oddfeatures_1Method · 0.72