docstr: Return a numpy array of weighted edges in the minimum spanning tree
          
docstr_tok: ["Return","a","numpy","array","of","weighted","edges","in","the","minimum","spanning","tree"]
code: def to_numpy(self):
      """Return a numpy array of weighted edges in the minimum spanning tree"""
      return self._mst.copy()
  
imports: import numpy
  from scipy.cluster.hierarchy import dendrogram
  from sklearn.manifold import TSNE
  from sklearn.decomposition import PCA
  from sklearn.metrics import pairwise_distances
  from warnings import warn
  from ._hdbscan_tree import compute_stability, labelling_at_cut, recurse_leaf_dfs
label_desc: Use image node_id 3 for calling the MinimumSpanningTree obj's underlying member method code with example usage: obj.to_numpy() and returns: self