This is a pre-release version (latest). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy latest / numpy / ma / core / _check_fill_value

function

numpy.ma.core:_check_fill_value

source: build-install/usr/lib/python3.14/site-packages/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