concept Vector column type in category pyspark
appears as: Vector column type

This is an excerpt from Manning's book Data Analysis with Python and PySpark.
For computing correlation between variables, PySpark provides the
Correlationobject.Correlationhas a single method,corr, that computes the correlation between features in aVector. Vectors are like PySpark arrays but with a special representation optimized for ML work (see the section called “Assembling the final data set with the Vector column type” for a more detailed introduction). In listing 10.17, I use theVectorAssemblertransformer on thefooddata frame to create a new columncontinuous_featuresthat contains aVectorof all our continuous features.