{ } Raw JSON

bundles / numpy 2.4.4 / numpy / ma / core / _recursive_set_fill_value

function

numpy.ma.core:_recursive_set_fill_value

source: /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