比较两个数组是否一致,返回True/false

(data["next_obs"][i] != data["obs"][i+1]).all()
 
用.all()即可
posted @ 2021-09-18 17:38  呦呦南山  阅读(161)  评论(0编辑  收藏  举报