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 / lib / format / header_data_from_array_1_0

function

numpy.lib.format:header_data_from_array_1_0

source: build-install/usr/lib/python3.14/site-packages/numpy/lib/_format_impl.py :368

Signature

def   header_data_from_array_1_0 ( array )

Summary

Get the dictionary of header metadata from a numpy.ndarray.

Parameters

array : numpy.ndarray

Returns

d : dict

This has the appropriate entries for writing its string representation to the header of the file.

Aliases

  • numpy.lib._format_impl.header_data_from_array_1_0