需要帮忙。我正在做一项任务,需要进行探索性数据分析。
我已经安装了seaborn。使用下面的代码行绘制图表时
chart1 = sns.catplot(x = "JUNCTIONTYPE", data = df3, kind = "count", col= "SEVERITYDESC")
chart1.set_xticklabels(rotation=35, horizontalalignment='right')
Run Code Online (Sandbox Code Playgroud)
我收到以下错误。
ValueError Traceback (most recent call last)
<ipython-input-30-d7f0b1b2a27f> in <module>
----> 1 chart1 = sns.catplot(x = "JUNCTIONTYPE", data = df3, kind = "count", col= "SEVERITYDESC")
2 chart1.set_xticklabels(rotation=35, horizontalalignment='right')
~/conda/envs/python/lib/python3.6/site-packages/seaborn/categorical.py in catplot(x, y, hue, data, row, col, col_wrap, estimator, ci, n_boot, units, order, hue_order, row_order, col_order, kind, height, aspect, orient, color, palette, legend, legend_out, sharex, sharey, margin_titles, facet_kws, **kwargs)
3722 # so we need …Run Code Online (Sandbox Code Playgroud)