IndexError: boolean index did not match indexed array along dimension 0; dimension is 9 but correspo
对某银行在降低贷款拖欠率的数据进行逻辑回归建模(python数据分析与挖掘实战5-1)importpandasaspd#参数初始化filename=r'E:\python\《Python数据分析与挖掘实战》\Python数据分析与挖掘实战\chapter5\demo\data\bankloan.xls'data=pd.read_excel(filename)x=data.iloc[:,:8].as