Datalab 2
The second datalab is about getting familiar with python function relevant for common distributions. The content of the datalab can be cloned using the following line in git bash:
git clone https://github.com/holleland/TECH3_datalab2This will make a local copy of the files on the github repository at the current location of the git bash terminal.
If you dont want to use git bash, you can also open the github link in your browser and download the files “manually”.
The repository consists of three files:
- datalab2.ipynb: The file for you to be working with.
- datalab2_solutions.ipynb: Suggestive solutions.
- environment.yml: Conda environment file.
To create the conda environment TECH3_student from the environment file, you can open an anaconda prompt and write:
conda env create --file environment.ymlAfter the environment has been set up, you can activate the conda environment and open Jupyter Notebook using
conda activate TECH3_student
jupyter notebookFor further details on how to set up the conda environment, see the guides on the repository for TECH2.
Open the file datalab2.ipynb, and go through the document. Write your own code and try to solve the problems yourself before consulting the solutions notebook.