Language

PrimitiveDataFrameColumn<T>.Apply メソッド

定義

オーバーロード

名前 説明
Apply(Func<T,T>, Boolean)

列内のすべての値 (null ではない) に関数を適用します。

Apply<TResult>(Func<Nullable<T>,Nullable<TResult>>)
古い.

すべての列値に関数を適用します。

Apply(Func<T,T>, Boolean)

ソース:
PrimitiveDataFrameColumn.cs
ソース:
PrimitiveDataFrameColumn.cs
ソース:
PrimitiveDataFrameColumn.cs

列内のすべての値 (null ではない) に関数を適用します。

public Microsoft.Data.Analysis.PrimitiveDataFrameColumn<T> Apply(Func<T,T> func, bool inPlace = false);
member this.Apply : Func<'T, 'T (requires 'T : struct and 'T : struct)> * bool -> Microsoft.Data.Analysis.PrimitiveDataFrameColumn<'T (requires 'T : struct)>
Public Function Apply (func As Func(Of T, T), Optional inPlace As Boolean = false) As PrimitiveDataFrameColumn(Of T)

パラメーター

func
Func<T,T>

適用する関数。

inPlace
Boolean

操作を実行する必要があるかどうかを示すブール型フラグ。

返品

inPlaceが設定されていない場合の新しいPrimitiveDataFrameColumn<T>。 それ以外の場合は、この列を返します。

適用対象

Apply<TResult>(Func<Nullable<T>,Nullable<TResult>>)

ソース:
PrimitiveDataFrameColumn.cs
ソース:
PrimitiveDataFrameColumn.cs
ソース:
PrimitiveDataFrameColumn.cs

注意事項

Method is obsolete, use Apply(Func<T, T> func, bool inPlace = false) instead

すべての列値に関数を適用します。

[System.Obsolete("Method is obsolete, use Apply(Func<T, T> func, bool inPlace = false) instead")]
public Microsoft.Data.Analysis.PrimitiveDataFrameColumn<TResult> Apply<TResult>(Func<T?,TResult?> func) where TResult : struct;
public Microsoft.Data.Analysis.PrimitiveDataFrameColumn<TResult> Apply<TResult>(Func<T?,TResult?> func) where TResult : struct;
[<System.Obsolete("Method is obsolete, use Apply(Func<T, T> func, bool inPlace = false) instead")>]
member this.Apply : Func<Nullable<'T>, Nullable<'Result>> -> Microsoft.Data.Analysis.PrimitiveDataFrameColumn<'Result (requires 'Result : struct)> (requires 'Result : 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

新しい列の型

パラメーター

func
Func<Nullable<T>,Nullable<TResult>>

適用する関数

返品

新しい値を含む新しい PrimitiveDataFrameColumn

属性

適用対象