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