#

astropy.utils.masked.function_helpers.put(a, ind, v, mode='raise')[源代码]#

用给定值替换数组的指定元素。

喜欢 numpy.put ,但对于掩码数组 a 以及可能的屏蔽值 v 。掩码索引 ind 不受支持。