{ } Raw JSON

bundles / astropy latest / astropy / utils / shapes / NDArrayShapeMethods / take

function

astropy.utils.shapes:NDArrayShapeMethods.take

source: /astropy/utils/shapes.py :155

Signature

def   take ( self indices axis = None out = None mode = raise )

Summary

Return a new instance formed from the elements at the given indices.

Extended Summary

Parameters are as for ~numpy.ndarray.take, except that, obviously, no output array can be given.

Aliases

  • astropy.utils.NDArrayShapeMethods.take