numpy.lib.format.header_data_from_array_1_0#

lib.format.header_data_from_array_1_0(array)[原始碼]#

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

參數:
arraynumpy.ndarray
回傳值:
ddict

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