I have a iris dataset and I'm trying to plot a distribution plot for all 4 columns of iris dataset :
df.columns
['sepal length (cm)', 'sepal width (cm)', 'petal length (cm)',
'petal width (cm)']
I want to plot distribution of values I tried.
fig, (ax1,ax2,ax3,ax4)= plt.subplots(2,2)
sns.distplot(a = df.iloc[:,0])
I get a ValueError:
ValueError Traceback (most recent call last)
<ipython-input-265-58940645d27a> in <module>()
----> 1 fig, (ax1,ax2,ax3,ax4)= plt.subplots(2,2)
2 sns.distplot(a = df.iloc[:,0])
ValueError: not enough values to unpack (expected 4, got 2)