np.modf():返回數組的小數部分和整數部分. In [6]: arr = np.random.randn(7) * 5 In [7]: arr Out[7]: array([ 0.47474019, 4.901448 , -0.47406988 ...
確定! 回上一頁