Issue
I had an annoyance with some Pandas operations and someone suggested that upgrading it to the latest version might solve the problem. I updated it from version 0.24.1 to 0.25.3
When I check the version in my virtual environment I get:
(matrix) ➜ web git:(T24_2019) pip freeze | grep pandas
pandas==0.25.3
But when I do the same thing inside the notebooks I get:
pandas==0.23.4
Note: you may need to restart the kernel to use updated packages.
I did restart the kernel many times, but it never worked. Is there a specific way to restart it? Does it have anything to do with iPython having other versions of my packages installed?
Note: I do not use Anaconda.
Thank you!
Solution
It seems that you check the versions of two different virtual environments. What you have to do is to upgrade the package of the virtualenv where your Jupyter Notebook is running.
As @The Half-Blood Prince already mentioned, you can do this by running the following command in a cell of your jupyter notebook:
!pip install --upgrade pandas
Answered By - Rene B.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.