Back to Numerical Arrays (NumPy)
np.rint
Round elements of the array to the nearest integer.
Syntax
np.rint(x)
Description
Round elements of the array to the nearest integer.
Parameters
| Name | Description |
|---|---|
| x | NDArray |
Returns
NDArray