The magic of IPython Notebook

20 %
80 %
Information about The magic of IPython Notebook

Published on February 28, 2014

Author: depropiedades


The magic of IPython Notebook in 15 minutes

What is it and why use it? • Web-based REPL (read-eval-print-loop) - simple and interactive programming environment alternative to the default shell • Cross platform and free • Rich toolkit: Terminal / Web / Qt console • Great for learn new languages • Allows to save code snippets • Output in interactive mode: text, tables, graphics

Installing IPython Minimal effort (newbies)! • Anaconda for Mac or Windows ! Complete! • • OSX - easy_install ipython will download and install all dependencies; pip install ipython will also work but ignore some dependencies Ubuntu (and Debian-based distros): • installs IPython and its dependencies sudo apt-get install ipython-notebook • additional tools for scientific computing (optional) sudo apt-get install python-matplotlib python-scipy python-pandas python-sympy python-nose • Windows:

First steps • • Launch typing IPython Notebook Do your magic

Characteristics • Easy installation • Menu with several options • Multiple cell types (markdown, raw text, headings) • Magics (% inline and %% multiline) • Code completion • Integrated help • Allows download notebooks and load them again from file

Magic functions

IPython SQL • Introduces a sql magic for IPython • Connect to a db using SQLAlchemy connecting strings • Multiple connections can be manteined • Dict-style access for result sets is supported • Supports Pandas, Graphing and Dumping •

Output examples

Thank you

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

The Jupyter Notebook — IPython

The IPython Notebook is now known as the Jupyter Notebook. It is an interactive computational environment, ... For more details on the Jupyter Notebook ...
Read more

Introducing IPython — IPython 3.2.1 documentation

Introducing IPython ... Magic functions¶ IPython has a set of predefined ‘magic functions’ that you can call with a ... Cell magics example notebook.
Read more

IPython 'magic' function documentation · lmmx/devnotes ...

IPython 'magic' function documentation. ... Calling this magic from clients that do not implement standard input, such as the ipython notebook interface, ...
Read more

ipython notebook - ERROR: Line magic function `%matplotlib ...

ERROR: Line magic function %matplotlib not found. ... When starting ipython notebook, I shall set PATH properly to use anaconda version of ipython.
Read more

python - Custom magic in ipython notebooks - Code does not ...

I am relatively new to ipython magics and want to run some code and at the same time add it to a list through the magic commands. The magics are defined as ...
Read more

GitHub - catherinedevlin/ipython-sql: %%sql magic for ...

Introduces a %sql (or %%sql) magic. Connect to a database, using SQLAlchemy connect strings, then issue SQL commands within IPython or IPython Notebook.
Read more

IPython – Wikipedia

IPython ist ein Kommandozeileninterpreter zum interaktiven Arbeiten mit der Programmiersprache ... Architektur und Notebook Die Architektur von IPython ...
Read more

OpenTechSchool – Introducing IPython Notebook

IPython Notebook makes this even simpler, ... Doing the workshop without IPython. Tried out IPython Notebook but don't really like it? No problem!
Read more

Ipython-quick-ref-sheets - GitHub Pages

Ipython-quick-ref-sheets. View on GitHub Ipython ... For more details of magic usage see the Built-in magic commands page in IPython's documentation.
Read more