numpy.generic.item

method

generic.item()

Scalar method identical to the corresponding array attribute.

Please see ndarray.item.