PrimitiveDataFrameColumn<T>.Clamp(T, T, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clamps values beyond the specified thresholds
public Microsoft.Data.Analysis.PrimitiveDataFrameColumn<T> Clamp (T min, T max, bool inPlace = false);
override this.Clamp : 'T * 'T * bool -> Microsoft.Data.Analysis.PrimitiveDataFrameColumn<'T (requires 'T : struct)>
Public Function Clamp (min As T, max As T, Optional inPlace As Boolean = false) As PrimitiveDataFrameColumn(Of T)
Parameters
- min
- T
Minimum value. All values below this threshold will be set to it
- max
- T
Maximum value. All values above this threshold will be set to it
- inPlace
- Boolean
Indicates if the operation should be performed in place