Thanks for the reply. after rebuild now it looks good.
On 8 September 2015 at 22:38, Davies Liu wrote:
> I tried with Python 2.7/3.4 and Spark 1.4.1/1.5-RC3, they all work as
> expected:
>
> ```
> >>> from pyspark.mllib.linalg import Vectors
> >>> df = sqlContext.createDataFrame([(1.0, Vectors.d
I tried with Python 2.7/3.4 and Spark 1.4.1/1.5-RC3, they all work as expected:
```
>>> from pyspark.mllib.linalg import Vectors
>>> df = sqlContext.createDataFrame([(1.0, Vectors.dense([1.0])), (0.0,
>>> Vectors.sparse(1, [], []))], ["label", "featuers"])
>>> df.show()
+-+-+
|label|