I have the following code:
from scipy.interpolate import UnivariateSpline
from scipy.optimize import fmin
a = UnivariateSpline(b,c) #Python
d = fmins(@(t) -ppval(a,t), someexpression); #Matlab where fmin is equivalent to fmins
How translate it to Python3?