numpy.ma.polyfit
numpy.ma.clip
numpy.ma.
around
Round an array to the given number of decimals.
Refer to around for full documentation.
See also