numpy.core._exceptions.UFuncTypeError: ufunc 'add' did not contain a loop with signature matching types (dtype('int64'), dtype(' None
问题原因:
就是在遍历数据库时没有拆分出每个字段,之后在进行计算时导致一个标量加一个元组出现不能类型匹配

numpy.core._exceptions.UFuncTypeError: ufunc 'add' did not contain a loop with signature matching types (dtype('int64'), dtype(' None
问题原因:
就是在遍历数据库时没有拆分出每个字段,之后在进行计算时导致一个标量加一个元组出现不能类型匹配