小编bos*_*ler的帖子

Python BoxPlot Error - 'Series' object has no attribute 'boxplot'

I'm trying to create a boxplot and I'm running into this error - 'Series' object has no attribute 'boxplot'

Here is my current code:

    fig = plt.figure(figsize=(8,6))
ax = fig.gca()
frame['ArrDelay'].boxplot(ax = ax)
ax.set_title('BoxPlot of ArrDelay')
ax.set_xlabel('ArrDelay')
ax.set_ylabel('Delay Time')
Run Code Online (Sandbox Code Playgroud)

Any suggestions?

python matplotlib

2
推荐指数
1
解决办法
6737
查看次数

标签 统计

matplotlib ×1

python ×1