PrimitiveDataFrameColumn<T>.Apply<TResult> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將函式套用至所有值
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)
類型參數
- TResult
新資料行的類型
參數
傳回
PrimitiveDataFrameColumn<TResult>
包含新值的新 PrimitiveDataFrameColumn