python - Interpolate doesn't work for numpy percentile -
i'm trying use midpoint interpolation when using np.percentile , gives me error: typeerror: percentile() got unexpected keyword argument 'interpolation' there way fix this?
it says in the documentation of np.percentile
interpolation
argument added in numpy version 1.9.0. based on error message, think need upgrade.