def polynome(x, y, n, name): x1 = x[n1:n2] y1 = y[n1:n2] #print(y) ans = polyfit(x1, y1, len(x1), name, c=False) return ans
def polynome(x, y, n, name): y = pd.DataFrame(y) y = y.mean() #print(y) polyfit(x[2:6], y[2:6], n, name, c=False)
def polynome(x,y,n, name): x1=x[n1:n2] y1=y[n1:n2] #print(y) ans=polyfit(x1, y1, len(x1), name, c=False) return ans
def polynome(x,y,n, name): y=pd.DataFrame(y) y=y.mean() #print(y) polyfit(x[2:6], y[2:6], n, name, c=False)
def polynome(x, y, n, name): #print(y) ans = polyfit(x[2:6], y[2:6], n, name, c=False) return ans