insert#

astropy.utils.masked.function_helpers.insert(arr, obj, values, axis=None)[source]#

Insert values along the given axis before the given indices.

Like numpy.insert but for possibly masked arr and values. Masked obj is not supported.