Logistic回归完整报错:PatsyError: numbers besides '0' and '1' are only allowed with **搞了好久不知道怎么办😥😥😥
可参考这里给出的解决办法。https://stackoverflow.com/questions/65577244/patsyerror-numbers-besides-0-and-1-are-only-allowed-with-doesnt-not-res