python AttributeError: 'Series' object has no attribute 'reshape' 报错处理
在python的 Series结构中无reshape方法,就会报该异常
AttributeError: 'Series' object has no attribute 'reshape'
处理方法:先使用Series的valuse方法将Series对象转化为numpy的ndarray,再用ndarray的reshape方法
发表评论
取消回复