ap_train[lx_columns].hist(figsize=(20,15));
报错:AttributeError: ‘Series’ object has no attribute ‘boxplot’
改为dataframe再绘制箱线图
df[['col_name']].boxplot()
dataframe 绘制直方图 matpltolib 绘制直方图 箱线图
阅读 64
2022-05-03
ap_train[lx_columns].hist(figsize=(20,15));
报错:AttributeError: ‘Series’ object has no attribute ‘boxplot’
改为dataframe再绘制箱线图
df[['col_name']].boxplot()
相关推荐
精彩评论(0)