Share via


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

Definition

Clamps values beyond the specified thresholds

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

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