<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>notebook Archives - Creatronix</title>
	<atom:link href="https://creatronix.de/tag/notebook/feed/" rel="self" type="application/rss+xml" />
	<link>https://creatronix.de/tag/notebook/</link>
	<description>My adventures in code &#38; business</description>
	<lastBuildDate>Sat, 17 Sep 2022 08:54:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Introduction to Jupyter Notebook</title>
		<link>https://creatronix.de/introduction-to-jupyter-notebook/</link>
		
		<dc:creator><![CDATA[Jörn]]></dc:creator>
		<pubDate>Wed, 25 Apr 2018 09:17:48 +0000</pubDate>
				<category><![CDATA[Data Science & SQL]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[data science]]></category>
		<category><![CDATA[jupyter]]></category>
		<category><![CDATA[notebook]]></category>
		<guid isPermaLink="false">http://creatronix.de/?p=1214</guid>

					<description><![CDATA[<p>JuPyteR Do You know the feeling of being already late to a party when encountering something new? But when you actually start telling others about it, you realize that it is not too common knowledge at all, e.g. Jupyter Notebooks. What is a Jupyter notebook? In my own words: a browser-based document-oriented command line style&#8230;</p>
<p>The post <a href="https://creatronix.de/introduction-to-jupyter-notebook/">Introduction to Jupyter Notebook</a> appeared first on <a href="https://creatronix.de">Creatronix</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>JuPyteR</h2>
<h2><img fetchpriority="high" decoding="async" class="wp-image-2253 size-full" src="https://creatronix.de/wp-content/uploads/2018/10/img_5986.jpg" width="500" height="627" srcset="https://creatronix.de/wp-content/uploads/2018/10/img_5986.jpg 500w, https://creatronix.de/wp-content/uploads/2018/10/img_5986-239x300.jpg 239w" sizes="(max-width: 500px) 100vw, 500px" /></h2>
<p>Do You know the feeling of being already late to a party when encountering something new?</p>
<p>But when you actually start telling others about it, you realize that it is not too common knowledge at all, e.g. <a href="http://jupyter.org/">Jupyter Notebooks</a>.</p>
<p>What is a Jupyter notebook?</p>
<p>In my own words: a browser-based document-oriented command line style exploration tool for <strong>Ju</strong>lia, <strong>Py</strong>thon and <strong>R</strong>, hence the name JuPyteR Huh!</p>
<p>Ok, let&#8217;s break it down:</p>
<h3>Browser-based</h3>
<p>JuPyter is a client-server concept where you edit your code in a web form in a browser. You send the input of a cell to the server backend for execution and the server sends back a response which will be rendered in your browser.</p>
<h3><img decoding="async" src="https://creatronix.de/wp-content/uploads/2018/04/iris_jupyter-1024x402.png" alt="" class="alignnone size-large wp-image-5952" width="1024" height="402" srcset="https://creatronix.de/wp-content/uploads/2018/04/iris_jupyter-1024x402.png 1024w, https://creatronix.de/wp-content/uploads/2018/04/iris_jupyter-300x118.png 300w, https://creatronix.de/wp-content/uploads/2018/04/iris_jupyter-768x302.png 768w, https://creatronix.de/wp-content/uploads/2018/04/iris_jupyter-1536x603.png 1536w, https://creatronix.de/wp-content/uploads/2018/04/iris_jupyter.png 1858w" sizes="(max-width: 1024px) 100vw, 1024px" /></h3>
<h3>Document-oriented</h3>
<p>On great aspect of a JuPyter is that You can enrich your code in a nice fashion with headlines and markdown code so that you have a document containing code, the result of the code execution and documentation.</p>
<p><a href="http://jupyter.org/"><img decoding="async" src="https://creatronix.de/wp-content/uploads/2018/04/markdown_jupyter-1024x780.png" alt="" class="alignnone size-large wp-image-5965" width="1024" height="780" srcset="https://creatronix.de/wp-content/uploads/2018/04/markdown_jupyter-1024x780.png 1024w, https://creatronix.de/wp-content/uploads/2018/04/markdown_jupyter-300x229.png 300w, https://creatronix.de/wp-content/uploads/2018/04/markdown_jupyter-768x585.png 768w, https://creatronix.de/wp-content/uploads/2018/04/markdown_jupyter.png 1482w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<h2>Installation and Run</h2>
<p>If You already have a python installation You can either use pip or pipenv to install JuPyter</p>
<h3>Pip</h3>
<pre>pip install jupyter</pre>
<h3>Pipenv</h3>
<pre>pipenv install jupyter</pre>
<p>After installation you can start it on the console with:</p>
<pre>jupyter notebook</pre>
<p>An alternative way is to use the <a href="https://www.anaconda.com/download/">anaconda distribution</a>.</p>
<h2>Disadvantages</h2>
<p>On big drawback -when your background is SW development- is that You don&#8217;t have code completion.<strong></strong></p>
<p>Another disadvantage: modularization of your code is not easy.</p>
<p>Versioning is an issue as well. Because the Jupyter notebook&#8217;s json files contains code and generated artifacts like plots every re-run of a notebook changes the file. The diff is not easily comprehensible.</p>
<h2>PyCharm Integration</h2>
<p>For the code completion issue there is JetBrains for the rescue: PyCharm IDE has an integrated JuPyter editor which supports code completion.</p>
<h2><img decoding="async" src="https://creatronix.de/wp-content/uploads/2018/04/pycharm_jupyter-1024x351.png" alt="" class="alignnone size-large wp-image-5967" width="1024" height="351" srcset="https://creatronix.de/wp-content/uploads/2018/04/pycharm_jupyter-1024x351.png 1024w, https://creatronix.de/wp-content/uploads/2018/04/pycharm_jupyter-300x103.png 300w, https://creatronix.de/wp-content/uploads/2018/04/pycharm_jupyter-768x263.png 768w, https://creatronix.de/wp-content/uploads/2018/04/pycharm_jupyter-1536x526.png 1536w, https://creatronix.de/wp-content/uploads/2018/04/pycharm_jupyter-2048x701.png 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></h2>
<h2>Useful Keyboard Shortcuts</h2>
<p>You can open command palette via</p>
<p>Cmd + Shift + P on Mac OS or via</p>
<p>Ctrl + Shift + P on Linux and Windows</p>
<p>Ctrl + Enter Run Cell</p>
<p>Alt + Enter Run Cell and insert new cell below</p>
<p><a href="https://www.dataquest.io/blog/jupyter-notebook-tips-tricks-shortcuts/">https://www.dataquest.io/blog/jupyter-notebook-tips-tricks-shortcuts/</a></p>
<p>The post <a href="https://creatronix.de/introduction-to-jupyter-notebook/">Introduction to Jupyter Notebook</a> appeared first on <a href="https://creatronix.de">Creatronix</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
