My mail adress : [email protected]
Actions students have to take
You have to bring your own laptop computer and install the python software.
For the tutorial, you will need to install the Python language together with some specific packages. You need to have a functional internet connection.
You can install a minimal Python or use Anaconda
Start by downloading Python 3.11 from this page.
Be careful to download the right version, i.e at least a Python 3 version !
Install the software.
Download Anaconda for Python 3.11 from this page and install the software.
Create an environment for this class
conda create --name pse python=3.11
Open a console/terminal/command tool on your computer and type:
pip install matplotlib jupyter
or if you use Anaconda
activate pse
conda install matplotlib jupyter
- Install the survey capabilities of openfisca-senegal:
pip install openfisca-senegal[survey]
If you have an error, you can try :
ensurepip --upgrade
pip install --upgrade setuptools
pip install openfisca-senegal[survey]
or
pip install numpy==1.26.4
pip install openfisca-senegal[survey]
You should be able to use Jupyter Notebook wich is now installed on your computer.
jupyter notebook
Nothing works, try the launch binder badges whenever it appears below.
It is required to read this excellent introduction to the notebook.
It is required to read and try to execute this introductory notebook to the Python langage.
You can also have a look at one of these Python tutorials:
-
We will manipulate dataframes: learn how to use them by having a look at this introduction
-
Download the the second session notebook.
You now have access to the complete notebooks with exercise solutions
-
Download the the first session notebook with exercises solutions.
-
Download the the second session notebook with exercises solutions.