numpy.ma.default_fill_value()

numpy.ma.default_fill_value

numpy.ma.default_fill_value(obj) [source]

Return the default fill value for the argument object.

The default filling value depends on the datatype of the input array or the type of the input scalar:

登录查看完整内容
datatype default
bool True
int 999999
float 1.e20
complex 1.e20+0j
object ‘?’