How can I create a weighted adjacency matrix from a numpy array based on euclidean distance between all rows, i.e 0 and 1, 0 and 2, 1 and 1,...?
Given the following e