Udacity course on data science.
Table of Contents
- Install
- Download CSVs from here
- Move to
csvdirectory
- Move to
- Install requirements via Poetry:
poetry install poetry run ipython kernel install --name "python3.10.7" --user - Run Jupyter Lab
poetry shell jupyter lab --ip=0.0.0.0 --port=8888 --no-browser
- Quit the server via
ctrl-cin the terminal - Enter
deactivateto exit the Poetry virtual environment
- Customize the
.env.exampleand rename to.env - General commands
# build image locally docker-compose build --pull --no-cache # start container docker-compose up -d # stop container docker-compose stop # remove container and network docker-compose down
justfilesyntax (recommended)# help just # build image locally (no-cache) just build-clean # build image locally just build # start container just start # ssh just exec # stop container just stop # stop container, remove container and network just down
- Open a browser and navigate to
http://127.0.0.1:8888- Docker uses the token specified in
.env
- Docker uses the token specified in
- Select the "python3.10.7" kernel if asked
- Open
refactor-wine-quality.ipynbfrom the left-hand column - Run cells by selecting them and pressing
shift-enter
Get Jupyter working in VSCode- Multiple
localhostentries in/etc/hosts😭
- Multiple
