1.7 KiB
Exercise 0 Environment and libraries
The goal of this exercise is to set up the Python work environment with the required libraries and to learn to launch a jupyter notebook
. Jupyter notebooks are very convenient as they allow to write and test code within seconds. However, it really easy to implement instable and not reproducible code using notebooks. Keep the notebook and the underlying code clean. An article below detail when the Notebook should be used. Notebook can be used for most of the exercices of the piscine as the goal is to experiment A LOT. But no worries, you'll be asked to build a more robust structure for all the projects.
I recommend to use:
- the last stable versions of Python. However, for educational purpose you will install a specific version of Python in this exercise.
- the virtual environment you're the most confortable with.
virtualenv
andconda
are the most used in Data Science. - one of the most recents versions of the libraries required
-
Create a virtual environment named
ex00
, with Python3.8
, with the following libraries:numpy
,jupyter
. -
Launch a
jupyter notebook
on port8891
and create a notebook namedNotebook_ex00
.JupyterLab
can be used instead of Jupyter Notebook here. -
Put the text
H1 TITLE
as heading level 1 andH2 TITLE
as heading level 2 in the first cell. -
Run
print("Buy the dip ?")
in the second cell