In [1]:
import plotly.figure_factory as ff
from plotly.offline import init_notebook_mode, iplot  # this doesn't require an account on plot.ly
import pandas as pd

In [2]:
init_notebook_mode(connected=False)



In [3]:
df = pd.read_csv("../data/school_earnings.csv")

In [4]:
df.head()


Out[4]:
School Women Men gap
0 MIT 94 152 58
1 Stanford 96 151 55
2 Harvard 112 165 53
3 U.Penn 92 141 49
4 Princeton 90 137 47

In [5]:
table = ff.create_table(df)

In [6]:
iplot(table)


There is an experimental table support that allows quite a bit of interactivity (in the latest github dash-table-experiments)


In [ ]: