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