This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / ma / core / _recursive_set_fill_value

function

numpy.ma.core:_recursive_set_fill_value

source: build-install/usr/lib/python3.14/site-packages/numpy/ma/core.py :423

Signature

def   _recursive_set_fill_value ( fillvalue dt )

Summary

Create a fill value for a structured dtype.

Parameters

fillvalue : scalar or array_like

Scalar or array representing the fill value. If it is of shorter length than the number of fields in dt, it will be resized.

dt : dtype

The structured dtype for which to create the fill value.

Returns

val : tuple

A tuple of values corresponding to the structured fill value.

Aliases

  • numpy.ma.core._recursive_set_fill_value