Regarding dataset

in this problem training i am getting error while splitting the data into xtrain and ytrain (ValueError: could not convert string to float: “O’Donoghue, Ms. Bridget”)
please help how to fix this problem

Hello @CCCB0018, could you please share a screenshot of the problem your are facing along with the piece of code that raises the exception.

Thanks

is there any whatsapp group where i can share ss of the code

hi Prateek ;
from the error i can say You are casting the string into float .
to remove this u must remove explicit casting being done over the columns

You can share an image using any of the free hosting services and put the link here or you can use the upload button

to upload your image.

Thanks