I need help fixing an error for a code. (Need is in less than 5 hours)

Job ID: 33590411

Budget: $10 – $20 USD

I am trying to use ML methods in Python to balance data using SMOTE and then running Logistic Regression using Test/Train methods. I am also trying to run Statsmodel and getting error in the process.
Related categories: Python Statistics Machine Learning (ML) Pytorch NumPy