Is there a numpy-thonic way, e.g. function, to find the nearest value in an array?

Example:

np.find_nearest( array, value )

19 Answers
19

Leave a Reply

Your email address will not be published. Required fields are marked *