使用python做逻辑斯地回归时显示不出函数
module 'statsmodels.formula.api' has no attribute 'Logit'
拼写错误? 这样试试sm.Logit()
那些看看你的模块有没有这个东西,我一般用pycharm 按住ctrl + 鼠标右键进入