convert_np_ndarray

GeneralFileEncoder.convert_np_ndarray(obj)[source]

Convert a numpy array instance.

Parameters

obj (numpy.ndarray) – The instance to convert.

Returns

d – The dictionary representation of obj.

Return type

dict