Find nearest value in numpy array

How do I find the nearest value in a numpy array? Example:

np.find_nearest(array, value)

← Назад к списку