In [1]:
import numpy, scipy, matplotlib.pyplot as plt, pandas, librosa

Getting Good at IPython

Cells

In [2]:
1+2
Out[2]:
3

Modes

Saving

Writing Text in Markdown

Writing Text in $\LaTeX$

$$ \max_{||w||=1} \sum_{i=1}^{N} \big| \langle w, x_i - m \rangle \big|^2 $$

Output:

$$ \max_{||w||=1} \sum_{i=1}^{N} \big| \langle w, x_i - m \rangle \big|^2 $$

Default Imports

import numpy
import scipy
import pandas
import matplotlib
import matplotlib.pyplot as plt
import librosa

Example:

In [3]:
plt.plot(scipy.hamming(101))
Out[3]:
[<matplotlib.lines.Line2D at 0x108759110>]

Tab Autocompletion

In [4]:
# Press Tab at the end of the following line
scipy.sin
Out[4]:
<ufunc 'sin'>

Inline Documentation

In [5]:
# Run this cell.
int?