{"id":184495,"date":"2023-02-02T15:03:00","date_gmt":"2023-02-02T20:03:00","guid":{"rendered":"https:\/\/ibkrcampus.com\/traders-insight\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/"},"modified":"2023-02-13T15:10:34","modified_gmt":"2023-02-13T20:10:34","slug":"jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/","title":{"rendered":"Jupyter Notebook Tutorial: Installation, Components and Magic Commands &#8211; Part I"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This article on Jupyter Notebooks (previously known as IPython Notebooks), does not require any pre-requisite knowledge and does not assume any familiarity with the framework. This blog is an introductory article where I will primarily address the following questions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>What is Jupyter Notebook?<\/li>\n\n\n\n<li>How to install the Jupyter Notebook environment?<\/li>\n\n\n\n<li>How to run or open Jupyter Notebook?<\/li>\n\n\n\n<li>What are the different components of Jupyter Notebook?<\/li>\n\n\n\n<li>What are cells in a Jupyter Notebook?<\/li>\n\n\n\n<li>How to write in Markdown language?<\/li>\n\n\n\n<li>What are the magic commands in Jupyter Notebook?<\/li>\n\n\n\n<li>How to download and share Jupyter Notebook?<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">After reading this blog, you will be able to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install the Jupyter Notebook environment<\/li>\n\n\n\n<li>Open Jupyter Notebook<\/li>\n\n\n\n<li>Understand various components<\/li>\n\n\n\n<li>Download and share Juypter Notebooks<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Along with the above questions, you will also learn writing in Markdown language in Jupyter notebooks. Let&#8217;s get started with the first question.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-what-is-jupyter-notebook\">What is Jupyter Notebook?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you are a student, you must be using a class notebook to take various class notes, or if you are a business professional, you might be using a writing pad to pen down important notes, either for your purpose or to present to someone else.<br><br>The typical content that goes in a student&#8217;s notebook can be text in various formats such as&nbsp;<strong>bold<\/strong>&nbsp;and&nbsp;<em>italic<\/em>, or a table, a mathematical equation, or creative stuff like hand-drawn images and so on. Not to forget that if it&#8217;s a programmer&#8217;s notebook, it will also contain a lot of programming code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, you want to continue with this practice of writing all such stuff in a single place online. Jupyter notebook comes to the rescue here. It is a web-based platform that allows you to write narrative text in various formats, include a table or an image, write equations and code in various programming languages, all in one place.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">How to install Jupyter environment?<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>jupyter notebook<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the above command fails, you can continue reading this section. Otherwise, you can safely skip this and proceed to the next section. In case the command fails and you get the error similar (not exact) to the one shown below, continue with this section to understand the installation process.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/jupyter_command_not_found-1-quantinsti.png\" alt=\"\" class=\"class= lazyload\"wp-image-175205\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Two popular methods using which Python can be installed on your workstation. They are<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Installing Python using Anaconda Distribution<\/li>\n\n\n\n<li>Installing Raw Python<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">While Jupyter runs code in many programming languages, Python is a requirement for installing the Jupyter Notebook.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Installing Jupyter Notebook using Anaconda<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you have installed Python using Anaconda Distribution, you are good to go. Anaconda Distribution includes Python, the Jupyter Notebook, and other commonly used packages for the scientific community.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you don&#8217;t have any version of Python installed, the recommended way to install Python is using Anaconda Distribution. It should be pretty simple to get Python installed.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>First, download the latest version of Anaconda Distribution.<\/li>\n\n\n\n<li>Second, install the downloaded version of Anaconda.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Bam! You have installed Jupyter Notebook. To check whether the installation is successful or not, and run the Jupyter Notebook, run the following command in the Anaconda prompt or command prompt (Windows) or terminal (Mac\/Linux).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>jupyter notebook\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you get an error upon running the above command (which should not happen), try the following method.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Installing Jupyter Notebook using pip<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When you install Python directly from its&nbsp;<a href=\"https:\/\/www.python.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">official website<\/a>, it does not include Jupyter Notebook in its standard library. In this case, you need to install Jupyter Notebook using the pip. The process is as follows:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open a new command prompt (Windows) or terminal (Mac\/Linux)<\/li>\n\n\n\n<li>Execute the following command to install Jupyter Notebook<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>python -m pip install jupyter<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">or if you are using Python 3<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>python3 -m pip install jupyter<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">or simply<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install jupyter<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Congratulations, you have installed Jupyter Notebook! Onward to running it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to run or open Jupyter Notebooks?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After you have installed the Jupyter Notebook on your computer, you are ready to run the notebook server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are reading this article from the beginning, then you might already know how to run Jupyter Notebook. However, if you have skipped the previous sections and directly jumped here, the below mentioned steps shows how to run the Jupyter Notebook.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, open a new command prompt (Windows) or terminal (Mac\/Linux) on your workstation, and second, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>jupyter notebook<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Upon executing the above command, the terminal or command prompt will print some information about the Jupyter Notebooks being loaded. It might look something like as shown in the below snapshot. Be mindful that the information printed would be different for each workstation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/jupyter_server-quantinsti.png\" alt=\"\" class=\"wp-image-175210 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Keep the terminal open as it is. It will then open the default web browser with the URL mentioned in the command prompt or terminal.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When the notebook opens in your browser, you will see the&nbsp;<em>Notebook Homepage<\/em>&nbsp;as shown in the below snapshot. This will list the notebook files and subdirectories in the directory where the notebook server was started.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/jupyter_home_page-quantinsti.png\" alt=\" class=\" class=\"wp-image-175211 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In case you are using Anaconda distribution for Python, you can open&nbsp;<a>Anaconda Navigator<\/a>&nbsp;(using the Start Menu(Windows), Applications folder(Mac), or Softwares folder(Linux)) shown below which allows you to open Jupyter Notebook using point and click.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/anaconda_navigator-quantinsti.png\" alt=\"\" class=\"class= lazyload\"wp-image-175212\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once the Navigator application is open, you can click on the Launch button within the Notebook dialogue to launch the Jupyter Notebook application. Upon clicking the Launch button, you will be presented by the homepage that we&#8217;d seen earlier.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, let&#8217;s understand how Jupyter environment works, I won&#8217;t be going technical, though. As the Jupyter Notebook is a web application, it works on a server-client architecture. When you execute the command&nbsp;<code>jupyter notebook<\/code>, the Jupyter software starts the server locally in the console where the command is executed, and the Jupyter Notebook homepage that opens in the web browser works as the client. Whatever you perform, that is, create or upload a new notebook, or save the existing one, the client notebook on which you are working, will keep communicating with the server running in the console\/command line.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To keep notebooks running smoothly, we need to keep the command prompt or terminal open, even after it has opened homepage. If you close it, notebooks that you are working with, won&#8217;t be able to communicate with the local server, and hence, any work you do, will not be saved on persistent memory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The next step is to learn various components of Jupyter software.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Stay tuned for the next installment to learn about the different components of Jupyter notebooks.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Originally posted on QuantInsti Blog:<a href=\" https:\/\/blog.quantinsti.com\/jupyter-notebook-tutorial-installation-components-magic-commands\/\"> https:\/\/blog.quantinsti.com\/jupyter-notebook-tutorial-installation-components-magic-commands\/<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is a web-based platform that allows you to write narrative text in various formats, include a table or an image, write equations and code in various programming languages, all in one place.<\/p>\n","protected":false},"author":328,"featured_media":184500,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[339,343,349,338,341,352,344],"tags":[6922,6614,14549,595],"contributors-categories":[13654],"class_list":["post-184495","post","type-post","status-publish","format-standard","has-post-thumbnail","category-data-science","category-programing-languages","category-python-development","category-ibkr-quant-news","category-quant-development","category-quant-north-america","category-quant-regions","tag-anaconda","tag-jupyter-notebook","tag-markdown-language","tag-python","contributors-categories-quantinsti"],"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v28.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Jupyter Notebook Tutorial: Installation, Components and Magic Commands &#8211; Part I<\/title>\n<meta name=\"description\" content=\"It is a web-based platform that allows you to write narrative text in various formats, include a table or an image, write equations and code in various...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/184495\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Jupyter Notebook Tutorial: Installation, Components and Magic Commands - Part I\" \/>\n<meta property=\"og:description\" content=\"It is a web-based platform that allows you to write narrative text in various formats, include a table or an image, write equations and code in various programming languages, all in one place.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-02T20:03:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-13T20:10:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/quant-blue-digit-abstract.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"563\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jay Parmar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Jupyter Notebook Tutorial: Installation, Components and Magic Commands - Part I\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jay Parmar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\\\/\\\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"NewsArticle\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Jay Parmar\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/e77e7794714e57aa7d6e8ec9be051768\"\n\t            },\n\t            \"headline\": \"Jupyter Notebook Tutorial: Installation, Components and Magic Commands &#8211; Part I\",\n\t            \"datePublished\": \"2023-02-02T20:03:00+00:00\",\n\t            \"dateModified\": \"2023-02-13T20:10:34+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\\\/\"\n\t            },\n\t            \"wordCount\": 375,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/02\\\/quant-blue-digit-abstract.png\",\n\t            \"keywords\": [\n\t                \"Anaconda\",\n\t                \"Jupyter Notebook\",\n\t                \"Markdown language\",\n\t                \"Python\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Data Science\",\n\t                \"Programming Languages\",\n\t                \"Python Development\",\n\t                \"Quant\",\n\t                \"Quant Development\",\n\t                \"Quant North America\",\n\t                \"Quant Regions\"\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\\\/\",\n\t            \"name\": \"Jupyter Notebook Tutorial: Installation, Components and Magic Commands - Part I\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/02\\\/quant-blue-digit-abstract.png\",\n\t            \"datePublished\": \"2023-02-02T20:03:00+00:00\",\n\t            \"dateModified\": \"2023-02-13T20:10:34+00:00\",\n\t            \"description\": \"It is a web-based platform that allows you to write narrative text in various formats, include a table or an image, write equations and code in various programming languages, all in one place.\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\\\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/02\\\/quant-blue-digit-abstract.png\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/02\\\/quant-blue-digit-abstract.png\",\n\t            \"width\": 1000,\n\t            \"height\": 563,\n\t            \"caption\": \"Jupyter Notebook Tutorial: Installation, Components and Magic Commands - Part I\"\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"name\": \"IBKR Campus US\",\n\t            \"description\": \"Financial Education from Interactive Brokers\",\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Organization\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\",\n\t            \"name\": \"Interactive Brokers\",\n\t            \"alternateName\": \"IBKR\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"logo\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\",\n\t                \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"width\": 669,\n\t                \"height\": 669,\n\t                \"caption\": \"Interactive Brokers\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\"\n\t            },\n\t            \"publishingPrinciples\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/about-ibkr-campus\\\/\",\n\t            \"ethicsPolicy\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/cyber-security-notice\\\/\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/e77e7794714e57aa7d6e8ec9be051768\",\n\t            \"name\": \"Jay Parmar\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/jayparmar\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Jupyter Notebook Tutorial: Installation, Components and Magic Commands &#8211; Part I","description":"It is a web-based platform that allows you to write narrative text in various formats, include a table or an image, write equations and code in various...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/184495\/","og_locale":"en_US","og_type":"article","og_title":"Jupyter Notebook Tutorial: Installation, Components and Magic Commands - Part I","og_description":"It is a web-based platform that allows you to write narrative text in various formats, include a table or an image, write equations and code in various programming languages, all in one place.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/","og_site_name":"IBKR Campus US","article_published_time":"2023-02-02T20:03:00+00:00","article_modified_time":"2023-02-13T20:10:34+00:00","og_image":[{"width":1000,"height":563,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/quant-blue-digit-abstract.png","type":"image\/png"}],"author":"Jay Parmar","twitter_card":"summary_large_image","twitter_title":"Jupyter Notebook Tutorial: Installation, Components and Magic Commands - Part I","twitter_misc":{"Written by":"Jay Parmar","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/"},"author":{"name":"Jay Parmar","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/e77e7794714e57aa7d6e8ec9be051768"},"headline":"Jupyter Notebook Tutorial: Installation, Components and Magic Commands &#8211; Part I","datePublished":"2023-02-02T20:03:00+00:00","dateModified":"2023-02-13T20:10:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/"},"wordCount":375,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/quant-blue-digit-abstract.png","keywords":["Anaconda","Jupyter Notebook","Markdown language","Python"],"articleSection":["Data Science","Programming Languages","Python Development","Quant","Quant Development","Quant North America","Quant Regions"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/","name":"Jupyter Notebook Tutorial: Installation, Components and Magic Commands - Part I","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/#primaryimage"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/quant-blue-digit-abstract.png","datePublished":"2023-02-02T20:03:00+00:00","dateModified":"2023-02-13T20:10:34+00:00","description":"It is a web-based platform that allows you to write narrative text in various formats, include a table or an image, write equations and code in various programming languages, all in one place.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/jupyter-notebook-tutorial-installation-components-and-magic-commands-part-i\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/quant-blue-digit-abstract.png","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/quant-blue-digit-abstract.png","width":1000,"height":563,"caption":"Jupyter Notebook Tutorial: Installation, Components and Magic Commands - Part I"},{"@type":"WebSite","@id":"https:\/\/ibkrcampus.com\/campus\/#website","url":"https:\/\/ibkrcampus.com\/campus\/","name":"IBKR Campus US","description":"Financial Education from Interactive Brokers","publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ibkrcampus.com\/campus\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ibkrcampus.com\/campus\/#organization","name":"Interactive Brokers","alternateName":"IBKR","url":"https:\/\/ibkrcampus.com\/campus\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","width":669,"height":669,"caption":"Interactive Brokers"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/"},"publishingPrinciples":"https:\/\/www.interactivebrokers.com\/campus\/about-ibkr-campus\/","ethicsPolicy":"https:\/\/www.interactivebrokers.com\/campus\/cyber-security-notice\/"},{"@type":"Person","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/e77e7794714e57aa7d6e8ec9be051768","name":"Jay Parmar","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/jayparmar\/"}]}},"jetpack_featured_media_url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/quant-blue-digit-abstract.png","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/184495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/users\/328"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=184495"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/184495\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/184500"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=184495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=184495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=184495"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=184495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}