如果你试图使用Python 内置的json 库将numpy 数组序列化为JSON 格式,可能会出现"TypeError: Object of type 'ndarray' is not JSON serializable" 的错误。
確定! 回上一頁