只打印或显示numpy数组rand_arr的小数点后3位。
import numpy as np
rand_arr = np.random.random([5, 3])
rand_arr
array([[0.22118871, 0.6646464 , 0.2337801 ],
[0.41721065, 0.19146842, 0.52896634],
[0.48623906, 0.36969331, 0.64473489],
[0.85905824, 0.57355251, 0.17322608],
[0.53934513, 0.66541322, 0.31748752]])
• 如何限制numpy数组输出中打印的项目数?