Jupyter Notebook - Introduction

Video in TIB AV-Portal: Jupyter Notebook - Introduction

Formal Metadata

Jupyter Notebook - Introduction
Title of Series
CC Attribution 3.0 Germany:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Release Date

Content Metadata

Subject Area
Presentation of a group Installation art Code Mehrplatzsystem Source code 1 (number) Mereology Formal language Data model Graphical user interface Virtual reality Different (Kate Ryan album) Kernel (computing) Process (computing) Physical system Scripting language Presentation of a group Electric generator Channel capacity Block (periodic table) Fatou-Menge Bit Instance (computer science) Formal language Connected space Radical (chemistry) Type theory Process (computing) Nichtlineares Gleichungssystem Quicksort Prototype Data structure Writing Resultant Laptop Laptop Slide rule Functional (mathematics) Computer file Open source Interactive television Fatou-Menge Calculation Cellular automaton Electronic mailing list Web browser Code Event horizon Computer Field (computer science) Revision control Prototype Latent heat Googol Gastropod shell Integrated development environment Data structure Nichtlineares Gleichungssystem output Default (computer science) Default (computer science) Slide rule Server (computing) Cellular automaton Weight Projective plane Code Client (computing) Group action Computer programming Web browser Graphical user interface Kernel (computing) Integrated development environment Visualization (computer graphics) Function (mathematics) Calculation Revision control Gastropod shell Exception handling
Server (computing) Building Directory service Term (mathematics) Control flow Web browser Uniform resource locator Duality (mathematics) Intrusion detection system Kernel (computing) Communications protocol Local ring HTTP cookie Laptop Default (computer science) Extension (kinesiology)
Laptop Mobile app Server (computing) Directory service Group action POKE Message passing Roundness (object) Kernel (computing) File system Communications protocol Local ring HTTP cookie Laptop Extension (kinesiology)
Laptop Code Computer-generated imagery Cellular automaton Letterpress printing Function (mathematics) Revision control Uniform resource locator Medical imaging Computer configuration Different (Kate Ryan album) Kernel (computing) Process (computing) Nichtlineares Gleichungssystem Gamma function Message passing Error message Default (computer science) Multiplication Slide rule Block (periodic table) Server (computing) Cellular automaton Code Login Attribute grammar Bit Letterpress printing Grand Unified Theory 1 (number) Web browser Type theory Error message Logic Personal digital assistant Function (mathematics) Normed vector space Order (biology) output Convex hull Nichtlineares Gleichungssystem Quicksort Laptop Extension (kinesiology)
Laptop Computer-generated imagery Login Host Identity Protocol
Laptop Email Functional (mathematics) View (database) Code Block (periodic table) View (database) Computer file Computer-generated imagery Projective plane Cellular automaton Code Drop (liquid) Radical (chemistry) Bit rate Different (Kate Ryan album) Personal digital assistant Kernel (computing) Nichtlineares Gleichungssystem Text editor Process (computing) Website Laptop Physical system
so that things are coming again I am also just going to give a very very brief introduction of what Jupiter is and what a Jupyter notebook looks like you're going to have some great examples that come later that are more interactive have more visualizations but the actual structure of wattage Jupyter notebook is as what I'm going to talk about and of a little bit about the Jupiter project itself how many of you have already worked with Jupiter in any capacity before how many you have you have heard of it before this event OK and sort of a little bit about the history and the purpose of Jupiter notebooks and Jupiter project more broadly out stolid basic use and some for the resources I'll try to keep it brief so looking backwards and notebooks are not a new concept there's a lot of different software implementations they're similar to Jupiter and our starting around the mid 19 eighties so matlab is also kind of similar I guess you could you could say and Mathematica notebooks were some of the the earlier ones all related to mathematical equations and computing with text and documentation together in 1 place you'll see things like marked down and our studio as also kind of a similar environment maybe you could think of it that way but there's also other types of books that exist Jupiter's not alone in that field I I find itself was what Jupiter and Jupyter notebooks are based on and that was started to be about in 2001 and it stands for interactive Python so the idea was to create a way to work with Python in an interactive way than just having scripts that run the background the functions but finding ways to interact with the code and the process itself and by Python kernel that's being used now I'll explain what a kernel is later was developed in 2010 that's basically just an instance of I Python that is used in the so the 1st prototype of the notebooks came out in 2010 and then was taken over by what is now known as the Jupiter project in around 2014 that she decided to change the name because the I Python project itself was starting to move beyond just Python projects integrating different languages like Julia and and it has now expanded to many many different languages the Jupyter Notebook itself is programmed in Python and by some so it multi-language it's nonprofits open source and there's the Jupyter Notebook which is what most people will be talking about today is another part of the Jupiter project called Jupiter hub that allows multiple users to use notebooks on a distributed system so you can use that in a classroom setting for example and now the next generation is Jupiter lab which I'll briefly show and at the end but it ties in Jupyter notebooks with terminals a file browser at different coding environment so that you can connect different instances of kernels together copy and paste cells and do that all known 1 environment in your browser which is kind of cool the general purpose is just to combined text calculation graphics together also the writing of the GUI and maybe some weight actually presented the code and perhaps creating slides or just showing notebook itself each notebook contains multiple cells which are a little blocks you'll see that contain bits of code war the mark them for text it's meant to create more reproducible workflows and where the results that you actually generate are saved with the code that produces them perhaps also important is they're stored and what's known as an night high notebook file which has to do with the history of it should being coming from what it was known as I and and it's a version control friendly J. son so the structure of a python notebook has the document itself and the kernel which is what's doing all the computing so you basically have 2 parts the document itself is really but called text how what you basically that used to create slides there's a function for that you can add Magic's which is something that's specific type I find lots important but you should know they existed if you start playing around with them the notebooks and you can also run shell commands from the notebooks themselves the kernels are a separate processes that run the cold like I said and there are many different languages that these have been developed for so it doesn't have to be Python you can run on a Python notebook and Jupiter book you can run Julia you can run in many different languages so installation and you have to install python to have Jupiter notebooks run under system because the developed in Python and then you also have to additionally install anti kernels that you would like to use and but most importantly I think most of us will be talking about Jupiter in Python today so the recommended recommended installation Battisti's Anaconda or a kind environment and it is in doing that the instructions are here I'm not going to go through that now but so they're available but basically once you have installed you to run a notebook you just run the Jupyter Notebook amount which is here and it's launched in your browser under this default and port and I'll show you what I think we have an open somewhere here or the actual presentations today because of running so the
command line someone medicine as you
can see is just a command line and here's some round the Jupyter notebook and then the app itself was launched and is running and with allowance when it launches will just have a quick look
as this messages the Jupiter dashboard so where ever in your file system you wanted you get the stash dashboard which shows all the Jupiter and by the the folders that you have war the Jupyter
Notebooks themselves such as this 1 just very very simple and you can add markdowns change the actual what what each code block does in the code like down and there's a couple different options depending what you do this also marked down cell this is a code sound you could have learned logic equations and and other types of documentation when you run and I'll turn back into the formatted version you can add images is in this case it's and also in marked down the can add HTML code into the document and in the code itself which 1 is right it tells you what order everything has been around to input if there's an error it will display that there for you as output sort of an if you run another commands little print the output which is nice and than anything else the only thing is if you have multiple bits of code in a block that given output the last 1 is the only 1 that will show up in the document itself but that's the basics of to build a notebook traditional so 1 last thing
goes to the lab which is what I mentioned and to the and
of once you've launched a juvenile notebook book you can also just add lab at the end of you are from the top I will do is launch what is
Jupiter lab and in here you can have you know books running you can have multiple notebooks running at once you can create a different view for the same notebook and copy and paste rating drop different code blocks and engage with the documents that you have and this is something that has only been launched than about the last year and a half its it's something to check out if you decide to start working more with no books and you can open different terminals in a text editors it has much more functionality than just working with a book documents themselves from this that pitch and year of post a couple
the tutorials and recommends there's also something that's called a noble keyword that Jupiter project provides a view which is no book documents in case you don't have Jupyter notebook installed on your system you can just go online and obviously upload up of document and it will display it for you you can also display them on get have fairly easily things like that so that's just the very very basics of what Japan notebooks look like and you will see now what they can do


  415 ms - page object


AV-Portal 3.19.2 (70adb5fbc8bbcafb435210ef7d62ffee973cf172)