I am attempting to find the indices of the two smallest and the two largest values in python:
I have
import sklearn euclidean_matrix=sklearn.metrics.pa