You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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 and conda are the most used in Data Science.
  • one of the most recents versions of the libraries required
  1. Create a virtual environment named ex00, with Python 3.8, with the following libraries: numpy, jupyter.

  2. Launch a jupyter notebook on port 8891 and create a notebook named Notebook_ex00. JupyterLab can be used instead of Jupyter Notebook here.

  3. Put the text H1 TITLE as heading level 1 and H2 TITLE as heading level 2 in the first cell.

  4. Run print("Buy the dip ?") in the second cell

Ressources: