I need to convert a vector to an array and I found this function in the docs of pyspark 3.0.1: https://spark.apache.org/docs/latest/api/python/pyspark.ml.html#pyspark.ml.fun