Minimal code:
import numpy as np np.rint(0.5) # Output is 0 OK! np.rint(718.5) # Output is 718 OK! np.rint(719.5) # Output is 720 WRONG!