I am trying to fit a logistics regression model in python on a data frame ‘df’. My target variable is categorical. Originally, I had 16 variables. Few of them are categorical. I created dummy variables using those categorical variables. Finally, when I run my model on data set, it popped up an error
ValueError: bad input shape (1906, 38)
can anyone help me fix it?