SciPy - Curve Fitting and Regression
Identify the error in this code snippet:
import numpy as np from numpy import polyfit x = [0, 1, 2] y = [1, 4, 9] coeffs = polyfit(x, y, '2')
