我使用下面的代码,试图绘制“target_column”的柱状图,它的分类值从1到99。在
df_train = pd.read_csv('myData.csv').dropna()
df_train.hist(column='target_column')
代码运行时没有抛出错误,但我根本看不到任何直方图。我使用的是python virtual env,配置如下:
“Create a file ~/.matplotlib/matplotlibrc there and add the following code: backend: TkAgg
”
我有什么遗漏吗?谢谢!在
目前没有回答
相关问题 更多 >
编程相关推荐