implicit final class MMLDataFrame extends AnyVal
- Alphabetic
- By Inheritance
- MMLDataFrame
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MMLDataFrame(df: Dataset[_])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val df: Dataset[_]
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getColAs[T](colName: String): Seq[T]
Gets the column values as the given type.
Gets the column values as the given type.
- T
The type to retrieve.
- colName
The column name to retrieve from.
- returns
The sequence of values in the column.
-
def
getDVCol: (String) ⇒ Seq[DenseVector]
Gets the spark dense vector column.
Gets the spark dense vector column.
- returns
The spark dense vector column.
-
def
getSVCol: (String) ⇒ Seq[SparseVector]
Gets the spark sparse vector column.
Gets the spark sparse vector column.
- returns
The spark sparse vector column.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toString(): String
- Definition Classes
- Any
-
def
withDerivativeCol(prefix: String): String
Finds an unused column name given initial column name in the given schema.
Finds an unused column name given initial column name in the given schema. The unused column name will be given prefix with a number appended to it, eg "testColumn_5". There will be an underscore between the column name and the number appended.
- returns
The unused column name.