DataFrame.Clamp<U>(U, U, 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 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