I am following your code about linear regression, but using my own dataset.
http://intellipaat.com/blog/what-is-linear-regression/
However I am getting the above error, when I run this part of the code:
v = pd.DataFrame (regressor.coef-,index=['Co-efficient']).transpose()
Can you advise please?