My error code and the code itself I tried using a data frame to predict variables outside of the dataset. The error message is saying all arrays must be the same length so I thought it was an indentation error but I just have no idea what's wrong also I'm pretty new to coding so I'm quite terrible at this type of thing. Continue reading...