Strange precision in unpacking a numpy array with *

后端 未结 0 587
迷失自我
迷失自我 2021-02-13 04:21

I am working with the numpy array x = np.arange (2.5,7.0,0.01). If I give the commands print(x) and print(*x) I obtain different results.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题