Regarding issue in satasmodels
Closed this issue · 3 comments
Hi there 👋
- Did you get this error with the data I provide in the project, or did you use your own data?
I'll assume you were using your own data, because I just downloaded the project and got it running on a newly bought Raspberry Pi. The only thing I had to change in the code was the line 167 to import statsmodels.api as sm
.
From the error message you posted, I can see the error is happening here. This probably means your input data isn't formatted like my input data.
If I were in your shoes, I'd go through the code up to that point and check where the matrices are of different sizes when you use my data vs when you use your data. Or you could format your data to have the same columns and number of columns like the one I provide. Hope that helps!
thank you Mislav Vuletić, This helped me a lot. I made the changes in my csv file and got them right. thank you so much.
Happy to help. Good luck in your endavours.