- Install Data Wrangler VSCode extension
- Install
uv
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"- Create a folder e.g.
hello_world - Copy the contents of
pyproject.tomlbelow to e.g.hello_world/ - Copy the contents of
settings.jsonbelow to e.g.hello_world/.vscode - Create a virtual environment and install the requirements
uv venv
uv sync- Download and move
hello.ipynbbelow intohello_world/and re-run it - The notebook output for dataframes is handled by Data Wrangler, enabled by
dataWrangler.outputRenderer.enabledinsettings.json
- You can also click "Open 'df' in Data Wrangler" to open the dataframe in a dedicated tab
- Basic column sorting and filtering is available in "Viewing" mode, and advanced operations can make changes to the dataframe in "Editing" mode, the resulting code can be copied by clicking "Preview code for all steps" in the bottom-left corner of the Data Wrangler sidebar menu.
- You can also view data files this way, not just in notebooks. In
settings.json, toggle support for additional filetypes (includingcsv) indataWrangler.enabledFileTypes. - Also,
dataWrangler.panels.displayOnTabFocuscontrols whether the sidebar or console panel pop up when opening a Data Wrangler tab. - Configuring editor associations e.g. like
"workbench.editorAssociations": { "file:/**/*.csv": "jupyter-data-wrangler" }means CSVs open in a Data Wrangler tab by default. The source file text can be opened by clicking the "page with arrow" icon in the top-right of the tab bar.

