The magic of IPython Notebook

25 %
75 %
Information about The magic of IPython Notebook
Technology

Published on February 28, 2014

Author: depropiedades

Source: slideshare.net

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: http://ipython.org/ipython-doc/stable/install/install.html#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 • https://github.com/catherinedevlin/ipython-sql

Output examples

Thank you

Add a comment

Related presentations

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