I am a beginner of Python. I follow the machine learning course of Intel. And I encounter some troubles in coding. I run the code below in Jupyter and it raises an Att
Update your pandas version using following command
pip install --upgrade pandas
In your terminal type
pip install plotting.
Updating pandas usually corrects this error. Hence update your version of pandas and the error should be solved. Additionally, your code snippet does work.
If you want to execute pip command directly in Jupyter notebook, run the following:
import sys
!{sys.executable} -m pip install --upgrade pandas
The above code makes sure that the package is installed for the same version of python installed with Jupyter notebook.
In some situations the below command also works:
!pip install --upgrade pandas