Problem with Logistic regression using categorial variables
The issue is that logistic regression cannot make use of features which are strings. To use these features in your model you have to convert them to values first by encoding them. There are several ways of encoding the string values into numerical values, examples of this are using a LabelEncoder, OneHotEncoder, and OrdinalEncoder.