[SPARK-4023] [MLlib] [PySpark] convert rdd into RDD of Vector

Convert the input rdd to RDD of Vector.

cc @mengxr
This is a non-deterministic test. For SPARK-4023, we only need to test `colStats` and other methods for RDDs of numpy arrays and python arrays.