DataFlow.MapColumn(String, String, List<ReplacementsValue>) Method

Definition

Creates a new column where matching values in the source column have been replaced with the specified values.

public Microsoft.DataPrep.Common.DataFlow MapColumn(string column, string newColumnId, System.Collections.Generic.List<Microsoft.DataPrep.Common.ReplacementsValue> replacements = null);
member this.MapColumn : string * string * System.Collections.Generic.List<Microsoft.DataPrep.Common.ReplacementsValue> -> Microsoft.DataPrep.Common.DataFlow
Public Function MapColumn (column As String, newColumnId As String, Optional replacements As List(Of ReplacementsValue) = null) As DataFlow

Parameters

column
String

The source column.

newColumnId
String

The name of the mapped column.

replacements
List<ReplacementsValue>

The values to replace and their replacements.

Returns

Applies to