PrimitiveDataFrameColumn<T>.Apply<TResult> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Applies a function to all the values
public Microsoft.Data.Analysis.PrimitiveDataFrameColumn<TResult> Apply<TResult> (Func<T?,TResult?> func) where TResult : struct;
member this.Apply : Func<Nullable<'T>, Nullable<'Result>> -> Microsoft.Data.Analysis.PrimitiveDataFrameColumn<'Result (requires 'Result : struct)> (requires 'Result : struct)
Public Function Apply(Of TResult As Structure) (func As Func(Of Nullable(Of T), Nullable(Of TResult))) As PrimitiveDataFrameColumn(Of TResult)
Type Parameters
- TResult
The new column's type
Parameters
Returns
PrimitiveDataFrameColumn<TResult>
A new PrimitiveDataFrameColumn containing the new values