RDD from label Array and data Array in python/spark
Spark have a function takeSample  which can merge two RDD in to an RDD.
I have two python arrays of the same length. They are generated from reading two separate text files. One represents labels; let it be called "labelArray". The other is an array of data arrays; let it be called "dataArray". I want to turn them into an RDD object of LabeledPoint. How can I do this?