Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 3.14 KB

README.md

File metadata and controls

56 lines (37 loc) · 3.14 KB

04 | Visual Studio Code

What You Learn

  • Why use Visual Studio Code?
  • What is a VS Code Profile?
  • How do I create a Data Science Profile?
  • What is Data Wrangler?
  • How can I use Data Wrangler for Data Analysis?

1 | Why use Visual Studio Code?

  1. It's the preferred IDE for use with GitHub Codespaces
  2. It integrates seamlessly with Jupyter Notebooks
  3. It supports rich extensions like Data Wrangler
  4. It supports reusable configuration with VS Code Profiles

2 | What is a VS Code Profile?

  1. A profile capturing your custom settings, extensions and preferences.
  2. Can be easily shared (for consistency) and switched (to suit context)
  3. Can be created from base templates - including the Data Science Profile Template

3 | How do I create a Profile?

  1. Follow these instructions to create one from scratch, or by template customization
  2. Export the profile to share it with others
  3. Import a shared profile and switch to it, to use it

Note: The repository has my exported profile stored as a file in the root folder. Simply click the gear icon in the VS Code sidebar (left), go to Profiles > Import Profile and load this file into your editor, then switch to it (make it default) to get my exact editor experience.

4 | What is Data Wrangler?

  1. A code-cenrtic data-viewing and cleaning tool available as an extension 1, Launch it from a data file, or from a dataframe within a Jupyter Notebook
  2. It provides a sandbox for data cleaning & transformation (original data is not modified)
  3. It provides rich operations you can apply interactively, to transform data (e.g., sort, filter, remove)
  4. It auto-generates code for those operations, that you can now take back to your notebook

This allows data wrangler usage to create reproducible steps that others can follow, to get the same outcome.

5 | How can I use Data Wrangler?

Explore the notebook below to see Data Wrangler in action, in the context of a Pandas data frame.

Notebook Description
VS Code Data Science Tutorial Walkthrough Setup and Data Preparation for VS Code Tutorial - and explore Data Wrangler

#14DaysOfDataScience

This section contributed to the post on Day 2 of #14DaysOfDataScience) learning. Visit that site to view all posts from Data Science Fundamentals to Developer Tools.

Read The Post