绘制小提琴图时,出现 ValueError: object arrays are not supported 错误。
在修改了传入的 DataFrame 数据时,将传入要进行绘制的数据进行转换为整数,即可解决此错误。 示例: df['values'] = df['values'].astype('int64')
绘制小提琴图时,出现 ValueError: object arrays are not supported 错误。
在修改了传入的 DataFrame 数据时,将传入要进行绘制的数据进行转换为整数,即可解决此错误。 示例: df['values'] = df['values'].astype('int64')
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。