跳转至主要内容
Ctrl+K
NumPy v2.6.dev0 Manual - Home NumPy v2.6.dev0 Manual - Home
  • 使用者指南
  • API 參考
  • 從來源碼建置
  • 開發
  • 發行備註
  • Learn
  • NEPs
  • GitHub
  • 使用者指南
  • API 參考
  • 從來源碼建置
  • 開發
  • 發行備註
  • Learn
  • NEPs
  • GitHub

章节导航

  • NumPy 的模組結構
  • 陣列物件
  • Universal functions (ufunc)
  • Routines and objects by topic
    • 常數
    • 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
    • 離散傅立葉變換
    • Functional programming
    • 輸入與輸出
    • Indexing routines
    • 線性代數
    • 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
    • 多項式
    • Random sampling
    • Set routines
    • 排序、搜尋與計數
    • Statistics
    • Test support
    • Window functions
  • Typing (numpy.typing)
  • NumPy C-API
  • 陣列 API 標準相容性
  • CPU/SIMD 最佳化
  • Thread Safety
  • Global Configuration Options
  • NumPy security
  • Testing guidelines
  • Status of numpy.distutils and migration advice
  • NumPy 與 SWIG
  • NumPy 參考
  • Routines and objects by topic
  • Mathematical functions
  • numpy.around

numpy.around#

numpy.around(a, decimals=0, out=None)[原始碼]#

Round an array to the given number of decimals.

around is an alias of `~numpy.round 的別名。

也參考

ndarray.round

equivalent method

round

alias for this function

ceil, fix, floor, rint, trunc

上一頁

numpy.round

下一頁

numpy.rint

当前页面
  • around

© Copyright 2008-2026, NumPy Developers.

使用 Sphinx 7.2.6 建立。

使用 PyData Sphinx Theme 0.17.1构建.