Round an array to the given number of decimals. `around` is an alias of `~numpy.round`. See Also -------- ndarray.round : equivalent method round : alias for this function ceil, fix, floor, rint, trunc
(a, decimals=0, out=None)
| 3362 | |
| 3363 | @array_function_dispatch(_round_dispatcher) |
| 3364 | def around(a, decimals=0, out=None): |
| 3365 | """ |
| 3366 | Round an array to the given number of decimals. |
| 3367 | |
| 3368 | `around` is an alias of `~numpy.round`. |
| 3369 | |
| 3370 | See Also |
| 3371 | -------- |
| 3372 | ndarray.round : equivalent method |
| 3373 | round : alias for this function |
| 3374 | ceil, fix, floor, rint, trunc |
| 3375 | |
| 3376 | """ |
| 3377 | return _wrapfunc(a, 'round', decimals=decimals, out=out) |
| 3378 | |
| 3379 | |
| 3380 | def _mean_dispatcher(a, axis=None, dtype=None, out=None, keepdims=None, *, |