While implementing Logistic Regression on some bank data I faced an error ValueError: could not convert string to float: 'no'. Here is the code I have tried until now.
bank_full=pd.read_csv("/home/bilal/Desktop/linkedinlearning/recommendation-system-python/bank/bank-full.csv")
bank_full.head()
X=bank_full.iloc[:,:37].values
y=bank_full.iloc[:,:18].values
Logreg=LogisticRegression()
Logreg.fit(X,y) #ERROR HERE.
