You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lesson 5: numpy.polyfit() is part of the old API, should rewrite this portion #20
We are using numpy.polyfit(), which is now described as "part of the old polynomial API"—NumPy 1.4 introduced the numpy.polynomial package, and the old numpy.poly1d class is considered legacy.
According to the transition guide, we would instead use the Polynomial class.
The new API has significant differences including the ordering of the coefficients for the polynomial expressions.
Activity