PrimitiveDataFrameColumn<T>.Apply Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Nazwa | Opis |
|---|---|
| Apply(Func<T,T>, Boolean) |
Stosuje funkcję do wszystkich wartości w kolumnie, które nie mają wartości null. |
| Apply<TResult>(Func<Nullable<T>,Nullable<TResult>>) |
Przestarzałe.
Stosuje funkcję do wszystkich wartości kolumn. |
Apply(Func<T,T>, Boolean)
- Źródło:
- PrimitiveDataFrameColumn.cs
- Źródło:
- PrimitiveDataFrameColumn.cs
- Źródło:
- PrimitiveDataFrameColumn.cs
Stosuje funkcję do wszystkich wartości w kolumnie, które nie mają wartości 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)
Parametry
- func
- Func<T,T>
Funkcja do zastosowania.
- inPlace
- Boolean
Flaga logiczna wskazująca, czy operacja powinna być w miejscu.
Zwraca
Nowy PrimitiveDataFrameColumn<T> , jeśli inPlace nie został ustawiony. Zwraca tę kolumnę w przeciwnym razie.
Dotyczy
Apply<TResult>(Func<Nullable<T>,Nullable<TResult>>)
- Źródło:
- PrimitiveDataFrameColumn.cs
- Źródło:
- PrimitiveDataFrameColumn.cs
- Źródło:
- PrimitiveDataFrameColumn.cs
Uwaga
Method is obsolete, use Apply(Func<T, T> func, bool inPlace = false) instead
Stosuje funkcję do wszystkich wartości kolumn.
[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)
Parametry typu
- TResult
Typ nowej kolumny
Parametry
Zwraca
Nowa kolumna PrimitiveDataFrameColumn zawierająca nowe wartości
- Atrybuty