numpy.ma.masked_all()

numpy.ma.masked_all

numpy.ma.masked_all(shape, dtype=<type 'float'>) [source]

Empty masked array with all elements masked.

Return an empty masked array of the given shape and dtype, where all the data are masked.

Parameters:

shape : tuple

Shape of the required MaskedArray.

dtype : dtype, optional

Data type of the output.

Returns: 登录查看完整内容