Skip to main content
Ctrl+K
NumPy v2.4 Manual - Home NumPy v2.4 Manual - Home
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
    • NEPs
  • GitHub
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
  • NEPs
  • GitHub

Section Navigation

  • NumPy’s module structure
  • Array objects
  • Universal functions (ufunc)
  • Routines and objects by topic
    • Constants
    • Array creation routines
    • Array manipulation routines
    • Bit-wise operations
    • String functionality
    • Datetime support functions
    • Data type routines
    • Mathematical functions with automatic domain
    • Floating point error handling
    • Exceptions and Warnings
    • Discrete Fourier Transform
    • Functional programming
    • Input and output
    • Indexing routines
    • Linear algebra
    • Logic functions
    • Masked array operations
    • Mathematical functions
      • numpy.sin
      • numpy.cos
      • numpy.tan
      • numpy.arcsin
      • numpy.asin
      • numpy.arccos
      • numpy.acos
      • numpy.arctan
      • numpy.atan
      • numpy.hypot
      • numpy.arctan2
      • numpy.atan2
      • numpy.degrees
      • numpy.radians
      • numpy.unwrap
      • numpy.deg2rad
      • numpy.rad2deg
      • numpy.sinh
      • numpy.cosh
      • numpy.tanh
      • numpy.arcsinh
      • numpy.asinh
      • numpy.arccosh
      • numpy.acosh
      • numpy.arctanh
      • numpy.atanh
      • numpy.round
      • numpy.around
      • numpy.rint
      • numpy.fix
      • numpy.floor
      • numpy.ceil
      • numpy.trunc
      • numpy.prod
      • numpy.sum
      • numpy.nanprod
      • numpy.nansum
      • numpy.cumulative_sum
      • numpy.cumulative_prod
      • numpy.cumprod
      • numpy.cumsum
      • numpy.nancumprod
      • numpy.nancumsum
      • numpy.diff
      • numpy.ediff1d
      • numpy.gradient
      • numpy.cross
      • numpy.trapezoid
      • numpy.exp
      • numpy.expm1
      • numpy.exp2
      • numpy.log
      • numpy.log10
      • numpy.log2
      • numpy.log1p
      • numpy.logaddexp
      • numpy.logaddexp2
      • numpy.i0
      • numpy.sinc
      • numpy.signbit
      • numpy.copysign
      • numpy.frexp
      • numpy.ldexp
      • numpy.nextafter
      • numpy.spacing
      • numpy.lcm
      • numpy.gcd
      • numpy.add
      • numpy.reciprocal
      • numpy.positive
      • numpy.negative
      • numpy.multiply
      • numpy.divide
      • numpy.power
      • numpy.pow
      • numpy.subtract
      • numpy.true_divide
      • numpy.floor_divide
      • numpy.float_power
      • numpy.fmod
      • numpy.mod
      • numpy.modf
      • numpy.remainder
      • numpy.divmod
      • numpy.angle
      • numpy.real
      • numpy.imag
      • numpy.conj
      • numpy.conjugate
      • numpy.maximum
      • numpy.max
      • numpy.amax
      • numpy.fmax
      • numpy.nanmax
      • numpy.minimum
      • numpy.min
      • numpy.amin
      • numpy.fmin
      • numpy.nanmin
      • numpy.convolve
      • numpy.clip
      • numpy.sqrt
      • numpy.cbrt
      • numpy.square
      • numpy.absolute
      • numpy.fabs
      • numpy.sign
      • numpy.heaviside
      • numpy.nan_to_num
      • numpy.real_if_close
      • numpy.interp
    • Miscellaneous routines
    • Polynomials
    • Random sampling
    • Set routines
    • Sorting, searching, and counting
    • Statistics
    • Test support
    • Window functions
  • Typing (numpy.typing)
  • Packaging
  • NumPy C-API
  • Array API standard compatibility
  • CPU/SIMD optimizations
  • Thread Safety
  • Global Configuration Options
  • NumPy security
  • Testing guidelines
  • Status of numpy.distutils and migration advice
  • numpy.distutils user guide
  • NumPy and SWIG
  • NumPy reference
  • Routines and objects by topic
  • Mathematical functions
  • numpy.around

numpy.around#

numpy.around(a, decimals=0, out=None)[source]#

Round an array to the given number of decimals.

around is an alias of round.

See also

ndarray.round

equivalent method

round

alias for this function

ceil, fix, floor, rint, trunc

深圳市网捷达科技有限公司 联系电话:18910898173;

ICP备案号:粤ICP备2024312167号-2

Copyright © 网捷达 版权所有

On this page
  • around

深圳市网捷达科技有限公司 联系电话:18910898173;

ICP备案号:粤ICP备2024312167号-2

Copyright © 网捷达 版权所有

深圳市网捷达科技有限公司 联系电话:18910898173;

ICP备案号:粤ICP备2024312167号-2

Copyright © 网捷达 版权所有