www.dftb.net > np.AsArrAy

np.AsArrAy

If X is your dataframe, try using the .astype method to convert to float when running the model: est = sm.OLS(y, X.astype(float)).fit()

网站地图

All rights reserved Powered by www.dftb.net

copyright ©right 2010-2021。
www.dftb.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com