seaborn绘图时遇到AttributeError: ‘float’ object has no attribute ‘shape’ 问题还是出在数值类型,将类别的转为category,数值转为对应的float32就行了