Numpy provides two identical methods to do this. Either use np.round(data, 2). or np.around(data, 2). as they are equivalent.
確定! 回上一頁