Langue

PrimitiveDataFrameColumn<T>.Apply Méthode

Définition

Surcharges

Nom Description
Apply(Func<T,T>, Boolean)

Applique une fonction à toutes les valeurs de la colonne, qui ne sont pas null.

Apply<TResult>(Func<Nullable<T>,Nullable<TResult>>)
Obsolète.

Applique une fonction à toutes les valeurs de colonne.

Apply(Func<T,T>, Boolean)

Source:
PrimitiveDataFrameColumn.cs
Source:
PrimitiveDataFrameColumn.cs
Source:
PrimitiveDataFrameColumn.cs

Applique une fonction à toutes les valeurs de la colonne, qui ne sont pas 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)

Paramètres

func
Func<T,T>

Fonction à appliquer.

inPlace
Boolean

Indicateur booléen pour indiquer si l’opération doit être en place.

Retours

Nouveau PrimitiveDataFrameColumn<T> s’il inPlace n’est pas défini. Retourne cette colonne dans le cas contraire.

S’applique à

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

Source:
PrimitiveDataFrameColumn.cs
Source:
PrimitiveDataFrameColumn.cs
Source:
PrimitiveDataFrameColumn.cs

Attention

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

Applique une fonction à toutes les valeurs de colonne.

[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)

Paramètres de type

TResult

Type de la nouvelle colonne

Paramètres

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

Fonction à appliquer

Retours

Nouveau PrimitiveDataFrameColumn contenant les nouvelles valeurs

Attributs

S’applique à