সম্পাদনা
from scipy.interpolate import CubicSpline x = [0, 1, 2, 3] y = [0, 2, 4, 3] result = CubicSpline(x, y) print(result(1.5))
পূর্বরূপ