needs to be `np.integer` not `np.int_`.