Share via


DataFrame.Clamp<U>(U, U, Boolean) Method

Definition

Clamps values beyond the specified thresholds on numeric columns

public Microsoft.Data.Analysis.DataFrame Clamp<U> (U min, U max, bool inPlace = false);
member this.Clamp : 'U * 'U * bool -> Microsoft.Data.Analysis.DataFrame
Public Function Clamp(Of U) (min As U, max As U, Optional inPlace As Boolean = false) As DataFrame

Type Parameters

U

Parameters

min
U

Minimum value. All values below this threshold will be set to it

max
U

Maximum value. All values above this threshold will be set to it

inPlace
Boolean

Indicates if the operation should be performed in place

Returns

Applies to