This repository contains all material needed to participate in the course Human-centered Data Science of the research group Human-Centered Computing (HCC) at Freie Universität Berlin.
- The repository (code section) contains everything related to the programming assignments we will do throughout the course.
- All other information (lecture slides, assignment instructions, etc.) you find in the ➡️ wiki⬅️.
- You should also clone the wiki by running
git clone https://github.com/FUB-HCC/hcds-winter-2020.wiki.git
orgit clone git@github.com/FUB-HCC/hcds-winter-2020.wiki.git
. - You need to clone the code repository in order to deliver your assignments or to test/run the code of fellow students.
We use the "Amazing Python Data Workflow with Poetry, Pandas, and Jupyter"1 to make sure everyone in the course uses the same environment and we don't run into any dependency hell 🌋.
In order to take part in the course, please ensure that you have a Python version greater or equal to 3.6.1
, a working installation of Poetry and git installed.
-
Clone this repository and move it into the repo root.
git clone https://github.com/FUB-HCC/hcds-winter-2020.git cd hcds-winter-2020
-
Install the dependencies in the repo root.
poetry install
-
Create a subshell within the virtual environment by running:
poetry shell
-
Open the project with Jupyter in your browser.
jupyter notebook
-
Problems when installing
poetry
? When installingpoetry
something goes wrong. It's not automatically in your path, so if you runpoetry --version
nothing happens. If you usezsh
oroh-my-zsh
then you need to add the following line to your.zshrc
fileexport PATH="$HOME/.poetry/bin:$PATH
. -
Trouble with previewing notebooks directly in GitHub? --> https://nbviewer.jupyter.org/
[1]
https://mungingdata.com/python/jupyter-workflow-poetry-pandas/, accessed: 2020-10-28