np.object
was a deprecated alias for the builtin object
. To avoid this error in existing code, use object
by itself. Doing this will not modify any behavior and is safe.
高版本的numpy np.object弃用了,把np.object改成object,或者降低numpy版本
来源地址:https://blog.csdn.net/weixin_43862733/article/details/129830732