iarray.iarray2numpy#

iarray.iarray2numpy(iarr: IArray, cfg: Optional[Config] = None, **kwargs) ndarray#

Convert an ironArray array into a NumPy array.

cfg and kwargs are the same than for empty().

Parameters

iarr (IArray container) – The array to convert.

Returns

out – The new NumPy array.

Return type

np.ndarray

See also

numpy2iarray

Convert a NumPy array into an ironArray array.