__int__

array.__int__() int

Converts a zero-dimensional integer array to a Python int object.

Parameters:

self (array) – zero-dimensional array instance. Must have an integer data type.

Returns:

out (int) – a Python int object representing the single element of the array instance.