Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Demystifying Jupyter

Demystifying Jupyter

En esta charla profundizaremos en Jupyter, una importante herramienta y entorno de trabajo open source orientado a científicos, que está revolucionando la forma de trabajar en el mundo de los datos. Veremos qué es realmente, cómo funciona y lo que esconde esta misteriosa Black Box.

Python Pereira

March 25, 2020
Tweet

More Decks by Python Pereira

Other Decks in Programming

Transcript

  1. 2014: Arises as an evolution of the IPython project It’s

    name: a tribute to Galileo HISTORY A little of
  2. #include <stdio.h> int main() { float i; for (i=0; i<i+1;

    i++){ i++; } printf("%f", i); return i; } SOME CODE
  3. KERNEL BASED SYS JUPITER KERNEL Execution engine for a specific

    language. IPython is the default kernel.
  4. WHAT IS A KERNEL ? Accepts messages Performs actions Sends

    out results Send Input Execution Result
  5. WHAT IS A CLIENT ? Connects to exactly 1 kernel

    Send messages to kernel based on user actions Display kernels messages when appropriate
  6. A Jupyter notebook is a dictionary with a few keys:

    metadata (dict) nbformat (int) nbformat_minor (int) cells (list) Top-level structure
  7. { "metadata" : { "kernel_info": { # if kernel_info is

    defined, its name field is required. "name" : "the name of the kernel" }, "language_info": { # if language_info is defined, its name field is required. "name" : "the programming language of the kernel", "version": "the version of the language", "codemirror_mode": "The name of the codemirror mode to use [optional]" } }, "nbformat": 4, "nbformat_minor": 0, "cells" : [ # list of cell dictionaries ], }