python - 为 Python 中的每一列打印一个箱线图
问题描述
from matplotlib import pyplot as plt
for column in data:
plt.figure()
data.boxplot([column])
错误:
/ 不支持的操作数类型:“str”和“int”
有些列是对象类型,有些是浮点型、整数型。我也想绘制object
类型
解决方案
推荐阅读
- angular - 想要监视在 onInit 方法中初始化的方法
- angular - 教程中的 Angular 组件问题
- c# - 如何计算特定块的 AES GCM IV
- node.js - 发送POST请求时Nodejs请求承诺错误?
- variables - 错误:将 varchar 值“...”转换为数据类型 int 时转换失败
- java - 每个扩展类的静态变量
- amazon-web-services - Amazon S3 如何列出“文件夹”中的文件
- php - Symfony 登录会话数据
- c# - 在 C# 中将正文传递给 mailto 时如何尊重空格
- javascript - TypeError this.props.addNode 不是函数