{ "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
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
The next cell below is a code cell. You can switch a cell between code and markdown by clicking on the code /markdown 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", " 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",
"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.
To view all your active variables and their current values in the notebook, click on the variable explorer icon \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", "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",
"in the top toolbar \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",
"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.
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.