public class functions
extends Object
| Constructor and Description | 
|---|
| functions() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Column | array_to_vector(Column v)Converts a column of array of numeric type into a column of dense vectors in MLlib. | 
| static Column | vector_to_array(Column v,
               String dtype)Converts a column of MLlib sparse/dense vectors into a column of dense arrays. | 
public static Column vector_to_array(Column v, String dtype)
v: - the column of MLlib sparse/dense vectorsdtype: - the desired underlying data type in the returned array