1 is not JSON serializable的解决方案

json无法识别numpy版的int,如果数据是numpy类型就会出现错误,转换为python内置int即可解决

猜你喜欢

转载自blog.csdn.net/konglingshneg/article/details/83107715