seaborn绘图时遇到AttributeError: 'float' object has no attribute 'shape'

seaborn绘图时遇到AttributeError: ‘float’ object has no attribute ‘shape’

这里写图片描述
这里写图片描述

问题还是出在数值类型,将类别的转为category,数值转为对应的float32就行了

这里写图片描述

猜你喜欢

转载自blog.csdn.net/silence2015/article/details/81394837
今日推荐