Returns a Winsorized version of the input array.
The (limits[0])th lowest values are set to the (limits[0])th percentile, and the (limits[1])th highest values are set to the (1 - limits[1])th percentile. Masked values are skipped.
Parameters: | a : sequence
limits : {None, tuple of float}, optional
inclusive : {(True, True) tuple}, optional
inplace : {False, True}, optional
axis : {None, int}, optional
|
---|
Notes
This function is applied to reduce the effect of possibly spurious outliers by limiting the extreme values.