python报错ValueError: zero-size array to reduction operation maximum which has no identity,情况之一分析与解决
在boston房价数据预测练习项目中,发现报错如下:ValueError:zero-sizearraytoreductionoperationmaximumwhichhasnoidentity此报错所对应行为maximums,minimums,avgs=training_data.max(axis=0),training_data.min(axis=0),\training_data.sum(ax