为Python中的每一列打印一个箱线图

时间:2020-04-26 21:01:04

标签: python pandas matplotlib

from matplotlib import pyplot as plt
for column in data:
    plt.figure()
    data.boxplot([column])

错误:

/:'str'和'int'不受支持的操作数类型

有些列是对象类型,有些是float,int。我也想绘制object类型

0 个答案:

没有答案