{ } Raw JSON

bundles / numpy 2.4.4 / numpy / lib / format / header_data_from_array_1_0

function

numpy.lib.format:header_data_from_array_1_0

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