约数包括四舍五入、向 0 取整、向上取整和向下取整。 ... import numpy as np In [ 2 ] : np.around ( [ 0.3 , 1.7 ] ) #四舍五入 Out [ 2 ] : array ( [ o . , 2. ] ...
確定! 回上一頁