The version of Python is 2.7 or so.
python --version Python 2.7.12
Installing jupyter notebook
sudo pip install jupyter
Confirmation of jupyter notebook startup
The browser starts up and jupyter notebook opens.
How to finish.
Ctrl+C to terminate the process on the console where jupyter notebook is running
How to create a new Notebook
Press the new button at the top right of the jupyter notebook screen to select Notebook: Python 2.
To open an existing Notebook from the console
jupyter notebook FILENAME.ipynb
When saving a Notebook
Click on the good old floppy disk icon on Notebook's screen.
To rename the file, click on "Untitled1" on the right side of the jupyter on the screen to open a dialog for renaming the file
If you're building your environment in an ansible-playbook repository, you can use
numpy, scipy, scikit-learn, and matplotlib should be installed
Check the list of installations in the pip to make sure they are
sudo pip install pandas
If you run the following snippet in jupyter notebook and confirm that the table is displayed
I can confirm that pandas is installed.
from sklearn import datasets import pandas as pd from collections import OrderedDict iris = datasets.load_iris() df = pd.concat([pd.DataFrame(iris.data,columns=iris.feature_names),pd.DataFrame(iris.target,columns=["species"])],axis=1) df.