public class functions
extends Object
Constructor and Description |
---|
functions() |
Modifier and Type | Method and Description |
---|---|
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