Some of the p-values are NaN - logistic regression

I am trying to do logisitc regression, but have this issue - some of the p values are NaN

model = sm.Logit(y2,X2.astype(float))
result = model.fit()
result.summary()

Any ideas what to do?

Topic statsmodels logistic-regression python

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.