Round an array to the nearest integer.
x : array_like
Input data.
y : {numpy.ndarray, scalar}
The rounded elements in x, with int dtype.