spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From big data <bigdatab...@outlook.com>
Subject How to deal with string column data for spark mlib?
Date Tue, 20 Dec 2016 09:35:16 GMT
our source data are string-based data, like this:
col1   col2   col3 ...
aaa   bbb    ccc
aa2   bb2    cc2
aa3   bb3    cc3
...     ...       ...

How to convert all of these data to double to apply for mlib's algorithm?

thanks.

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org

Mime
View raw message