Cannot interpret '<attribute 'dtype' of 'numpy.generic' objects>' as a dataframe
pandas版本变更都修改部分函数方法,你只能根据报错修改你的代码去适应当前版本的pandas