IDFModel.Transform(DataFrame) Method

Definition

Executes the IDFModel and transforms the DataFrame to include the new column or columns with the tokens.

public Microsoft.Spark.Sql.DataFrame Transform (Microsoft.Spark.Sql.DataFrame source);
member this.Transform : Microsoft.Spark.Sql.DataFrame -> Microsoft.Spark.Sql.DataFrame
Public Function Transform (source As DataFrame) As DataFrame

Parameters

source
DataFrame

The DataFrame to add the tokens to

Returns

DataFrame containing the original data and the tokens

Applies to