code: def from_matrix(matrix):
      """Convert MLlib Matrix to numpy array"""
      return matrix.toArray()
  
imports: from pyspark.mllib.linalg import Matrices, Vectors
label_desc: Use image node_id 1 for calling a global function with example usage: from_matrix(matrix) and returns: matrix