{ } Raw JSON

bundles / numpy 2.4.4 / numpy / ma / core / _check_fill_value

function

numpy.ma.core:_check_fill_value

source: /numpy/ma/core.py:455

Signature

def _check_fill_value(fill_value, ndtype)

Summary

Private function validating the given fill_value for the given dtype.

Extended Summary

If fill_value is None, it is set to the default corresponding to the dtype.

If fill_value is not None, its value is forced to the given dtype.

The result is always a 0d array.

Aliases

  • numpy.ma.core._check_fill_value