Problems importing pandas.plotting

后端 未结 4 458
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-03 20:48

When I import pandas, everything is fine and working. Yet, when I try to import something from pandas.plotting im getting an error. What could be the source of

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-03 21:22

    I figured out that most cases when the errors come up on the import scatter_matrix, it is because you have not restarted your jupyter notebooks for a while. Before I run the code; from pandas.tools.plotting import scatter_matrix I make sure I restart my jupyter notebook and run the code. Everything works just fine from then on.

提交回复
热议问题