Share via


StringDataFrameColumn.Apply(Func<String,String>, Boolean) Method

Definition

Applies a function to all values in the column, that are not null.

public Microsoft.Data.Analysis.StringDataFrameColumn Apply(Func<string,string> func, bool inPlace = false);
member this.Apply : Func<string, string> * bool -> Microsoft.Data.Analysis.StringDataFrameColumn
Public Function Apply (func As Func(Of String, String), Optional inPlace As Boolean = false) As StringDataFrameColumn

Parameters

func
Func<String,String>

The function to apply.

inPlace
Boolean

A boolean flag to indicate if the operation should be in place.

Returns

A new PrimitiveDataFrameColumn<T> if inPlace is not set. Returns this column otherwise.

Applies to