spyder中一直unsupported operand type(s) for-: 'float' and 'str'
收起
检查一下ypred,ytrue的数据类型,估计是test['date']中有字符串数据类型列。如有str类型的话,要先转换为float或int类型。
报告相同问题?