Describe the enhancement requested
Add a winsorize function as described here:
https://en.wikipedia.org/wiki/Winsorizing
and implemented in e.g. Scipy:
https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.mstats.winsorize.html
Component(s)
C++