reset password
Author Message
jpatel43
Posts: 11
Posted 09:45 Feb 13, 2015 |

I have implemented this code and getting an error to pass a value to calculate cost function..

concat=[[ ]]

for i in range(0,891):

     temp1=float(train_df["Fare"][i]);

     temp2=float(train_df["Pclass"][i]);

     temp3=float(train_df["Sex"][i]);

     concat[i]=temp1,temp2,temp3;

Error:list index out of range