Actually, here you can do `df[column][distance_matrix.ids]` and it will return a new DataFrame with this values, and you can transform it to a numpy array, if you need it as a numpy array...