numpy.ma.getmaskarray()

numpy.ma.getmaskarray

numpy.ma.getmaskarray(arr) [source]

Return the mask of a masked array, or full boolean array of False.

Return the mask of arr as an ndarray if arr is a MaskedArray and the mask is not nomask, else return a full boolean array of False of the same shape as arr.

登录查看完整内容