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

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

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

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

相关文章: