# How to round elements of the NumPy array to the nearest integer in Python import numpy as n  # create arrayy = n.array([0.2, 0.3, 0.4, 0.5, 0.6, 0.7])print("Original array:", end=" ")print(y)  # rount to nearest integery = n.rint(y)print("After rounding off:", end=" ")print(y)