Skip to content

BalticBytes/Py-Data-Science-devcontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Data Science devcontainer

A minimal working setup providing a devcontainer for vscode + python + jupyter notebooks.

Sources / Prerequisites

Usage

  1. Install vscode and the Remote - Containers extension
  2. Click on the small green button >< on the bottom left of vscode OR (ctrl+p)
  3. Type and choose >Remote-Containers: Reopen in Container

Notes

Changing the current working directory (cwd) enables you to utilize relative imports in your jupyter notebook.

Example (included in repo):

  • Local Module (src/util.py)
  • Notebook (src/example.ipynb)
# This needs to be ran to make relative imports work
import os
os.chdir("/workspaces")
os.getcwd()

License

MIT

Releases

No releases published

Packages

No packages published

Languages