Python Software in Data 100

We will be using Python and Jupyter Notebooks for most of the class. You should take some time to learn how to use Jupyter and some of the keyboard shortcuts.

Software Packages

We will be using a wide range of different Python software packages. To install and manage these packages we will be using the Conda environment manager. The following is a list of packages we will routinely use in lectures and homeworks:

Linear Algebra

In [1]:
import numpy as np

Data manipulation

In [2]:
import pandas as pd

Visualization

In [3]:
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline

Interactivity

In [4]:
import ipywidgets as widgets
from ipywidgets import interact

Occasionally we will also use interactive visualization libraries like Plotly:

In [5]:
## Plotly plotting support
import plotly.offline as py
py.init_notebook_mode()
import plotly.graph_objs as go
import plotly.figure_factory as ff
import cufflinks as cf
cf.set_config_file(offline=True, world_readable=True, theme='ggplot')