{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Creating a new notebook\n", "\n", "\n", "\n", "1.

Open the command palette with the shortcut: ", " \n", " Ctrl/Command\n", " +\n", " Shift\n", " +\n", " P\n", "

\n", "\n", "2.

Search for the command Create New Blank Notebook

\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "---\n", "# How to get back to the start page\n", "\n", "1.

Open the command palette with the shortcut:\n", " \n", " Ctrl/Command\n", " +\n", " Shift\n", " +\n", " P\n", "

\n", "\n", "2.

Search for the command Python: Open Start Page

\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "---\n", "# Getting started\n", "\n", "You are currently viewing what we call our Notebook Editor. It is an interactive document based on Jupyter Notebooks that supports the intermixing of code, outputs and markdown documentation. \n", "\n", "This cell is a markdown cell. To edit the text in this cell, simply double click on the cell to change it into edit mode.\n", "\n", "

The next cell below is a code cell. You can switch a cell between code and markdown by clicking on the code \n", "\n", "/markdown \n", "\n", " icons or using the keyboard shortcut\n", " \n", " M\n", " \n", "and\n", " \n", " Y\n", " \n", "respectively.

\n" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "print('hello world')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "*

To execute the code in the cell above, click on the cell to select it and then either press the play \n", "\n", "\n", " button in the cell toolbar, or use the keyboard shortcut\n", " \n", " Ctrl/Command\n", " +\n", " Enter\n", " \n", "

\n", "* To edit the code, just click in cell and start editing.\n", "*

To add a new cell below, click the Add Cell icon \n", "\n", "\n", " \n", "at the bottom left of the cell or enter command mode with the\n", " \n", " ESC\n", " \n", "Key and then use the keyboard shortcut\n", " \n", " B\n", " \n", "to create the new cell below.

\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "---\n", "# Features\n", "\n", "**Variable explorer**\n", "\n", "

To view all your active variables and their current values in the notebook, click on the variable explorer icon \n", "\n", "\n", "\n", "in the top toolbar.

\n", "\n", "\n", "\n", "**Data Viewer**\n", "\n", "

To view your data frame in a more visual \"Excel\" like format, open the variable explorer and to the left of any dataframe object, you will see the data viewer icon\n", "\n", "\n", "\n", "which you can click to open the data viewer.

\n", "\n", "\n", "\n", "**Convert to Python File**\n", "\n", "

To export your notebook to a Python file (.py), click on the Convert to Python script icon \n", "\n", "\n", "\n", "\n", "in the top toolbar \n", "

\n", "\n", "\n", "\n", "**Plot Viewer**\n", "\n", "

If you have a graph (such as matplotlib) in your output, you'll notice if you hover over the graph, the Plot Viewer icon \n", "\n", "\n", "\n", "will appear in the top left. Click the icon to open up the graph in the Plotviewer which allows you to zoom on your plots and export it in formats such as png and jpeg.

\n", "\n", "\n", "\n", "**Switching Kernels**\n", "\n", "The notebook editor will detect all kernels in your system by default. To change your notebook kernel, click on the kernel status in the top toolbar at the far right. For example, your kernel status may say \"Python 3: Idle\". This will open up the kernel selector where you can choose your desired kernel.\n", "\n", "\n", "\n", "**Remote Jupyter Server**\n", "\n", "

To connect to a remote Jupyter server, open the command prompt and search for the command Specify remote or local Jupyter server for connections. Then select Existing and enter the remote Jupyter server URL. Afterwards, you'll be prompted to reload the window and the Notebook will be opened connected to the remote Jupyter server.

\n", "\n", "", "\n" ] }, { "cell_type": "markdown", "metadata": { "colab_type": "text", "id": "-Rh3-Vt9Nev9" }, "source": [ "---\n", "## More Resources\n", "\n", "- [Data science tutorial for Visual Studio Code](https://code.visualstudio.com/docs/python/data-science-tutorial)\n", "- [Jupyter Notebooks in Visual Studio Code documentation](https://code.visualstudio.com/docs/python/jupyter-support)\n" ] } ], "metadata": {}, "nbformat": 4, "nbformat_minor": 0 }