Jupyter python3 notebook cannot recognize pandas

后端 未结 14 1046
终归单人心
终归单人心 2020-12-14 15:56

I am using the Jupyter notebook with Python 3 selected. On the first line of a cell I am entering:

import pandas as pd

The error I get from

14条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-14 16:43

    My pandas version was 0.20.3 I have updated to 0.25 using conda update pandas. I have checked in Command Line Interface(CLI) its pd.__version__ '0.25.1'.

    In Jupyter notebook its showing '0.20.3'.

    Please restart jupyter notebook. note is cache your pandas. or you can create a new notebook

提交回复
热议问题