MCPcopy Index your code
hub / github.com/numpy/numpy / take

Function take

numpy/ma/core.py:7126–7131  ·  view source on GitHub ↗

(a, indices, axis=None, out=None, mode='raise')

Source from the content-addressed store, hash-verified

7124
7125
7126def take(a, indices, axis=None, out=None, mode='raise'):
7127 """
7128
7129 """
7130 a = masked_array(a)
7131 return a.take(indices, axis=axis, out=out, mode=mode)
7132
7133
7134def power(a, b, third=None):

Callers 5

test_testMaPutMethod · 0.90
test_takeMethod · 0.90

Calls 1

takeMethod · 0.80

Tested by 5

test_testMaPutMethod · 0.72
test_takeMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…