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

Function take

numpy/ma/core.py:6914–6918  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

6912count = _frommethod('count')
6913
6914def take(a, indices, axis=None, out=None, mode='raise'):
6915 """
6916 """
6917 a = masked_array(a)
6918 return a.take(indices, axis=axis, out=out, mode=mode)
6919
6920
6921def power(a, b, third=None):

Callers 8

test_testMaPutMethod · 0.90
test_takeMethod · 0.90
_cook_nd_argsFunction · 0.90
original_fftshiftMethod · 0.90
original_ifftshiftMethod · 0.90

Calls 1

takeMethod · 0.80

Tested by 7

test_testMaPutMethod · 0.72
test_takeMethod · 0.72
original_fftshiftMethod · 0.72
original_ifftshiftMethod · 0.72