import qgrid
!pip install qgrid
Requirement already satisfied: qgrid in /srv/paws/lib/python3.6/site-packages
Requirement already satisfied: notebook>=4.0.0 in /srv/paws/lib/python3.6/site-packages (from qgrid)
Requirement already satisfied: pandas>=0.18.0 in /srv/paws/lib/python3.6/site-packages (from qgrid)
Requirement already satisfied: ipywidgets>=7.0.0 in /srv/paws/lib/python3.6/site-packages (from qgrid)
Requirement already satisfied: jinja2 in /srv/paws/lib/python3.6/site-packages (from notebook>=4.0.0->qgrid)
Requirement already satisfied: nbformat in /srv/paws/lib/python3.6/site-packages (from notebook>=4.0.0->qgrid)
Requirement already satisfied: terminado>=0.8.1 in /srv/paws/lib/python3.6/site-packages (from notebook>=4.0.0->qgrid)
Requirement already satisfied: pyzmq>=17 in /srv/paws/lib/python3.6/site-packages (from notebook>=4.0.0->qgrid)
Requirement already satisfied: jupyter-client>=5.2.0 in /srv/paws/lib/python3.6/site-packages (from notebook>=4.0.0->qgrid)
Requirement already satisfied: jupyter-core>=4.4.0 in /srv/paws/lib/python3.6/site-packages (from notebook>=4.0.0->qgrid)
Requirement already satisfied: traitlets>=4.2.1 in /srv/paws/lib/python3.6/site-packages (from notebook>=4.0.0->qgrid)
Requirement already satisfied: ipython-genutils in /srv/paws/lib/python3.6/site-packages (from notebook>=4.0.0->qgrid)
Requirement already satisfied: tornado>=4 in /srv/paws/lib/python3.6/site-packages (from notebook>=4.0.0->qgrid)
Requirement already satisfied: Send2Trash in /srv/paws/lib/python3.6/site-packages (from notebook>=4.0.0->qgrid)
Requirement already satisfied: ipykernel in /srv/paws/lib/python3.6/site-packages (from notebook>=4.0.0->qgrid)
Requirement already satisfied: nbconvert in /srv/paws/lib/python3.6/site-packages (from notebook>=4.0.0->qgrid)
Requirement already satisfied: pytz>=2011k in /srv/paws/lib/python3.6/site-packages (from pandas>=0.18.0->qgrid)
Requirement already satisfied: numpy>=1.9.0 in /srv/paws/lib/python3.6/site-packages (from pandas>=0.18.0->qgrid)
Requirement already satisfied: python-dateutil>=2.5.0 in /srv/paws/lib/python3.6/site-packages (from pandas>=0.18.0->qgrid)
Requirement already satisfied: widgetsnbextension~=3.2.0 in /srv/paws/lib/python3.6/site-packages (from ipywidgets>=7.0.0->qgrid)
Requirement already satisfied: ipython>=4.0.0; python_version >= "3.3" in /srv/paws/lib/python3.6/site-packages (from ipywidgets>=7.0.0->qgrid)
Requirement already satisfied: MarkupSafe>=0.23 in /srv/paws/lib/python3.6/site-packages (from jinja2->notebook>=4.0.0->qgrid)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /srv/paws/lib/python3.6/site-packages (from nbformat->notebook>=4.0.0->qgrid)
Requirement already satisfied: ptyprocess; os_name != "nt" in /srv/paws/lib/python3.6/site-packages (from terminado>=0.8.1->notebook>=4.0.0->qgrid)
Requirement already satisfied: six in /srv/paws/lib/python3.6/site-packages (from traitlets>=4.2.1->notebook>=4.0.0->qgrid)
Requirement already satisfied: decorator in /srv/paws/lib/python3.6/site-packages (from traitlets>=4.2.1->notebook>=4.0.0->qgrid)
Requirement already satisfied: entrypoints>=0.2.2 in /srv/paws/lib/python3.6/site-packages (from nbconvert->notebook>=4.0.0->qgrid)
Requirement already satisfied: pygments in /srv/paws/lib/python3.6/site-packages (from nbconvert->notebook>=4.0.0->qgrid)
Requirement already satisfied: bleach in /srv/paws/lib/python3.6/site-packages (from nbconvert->notebook>=4.0.0->qgrid)
Requirement already satisfied: testpath in /srv/paws/lib/python3.6/site-packages (from nbconvert->notebook>=4.0.0->qgrid)
Requirement already satisfied: mistune>=0.7.4 in /srv/paws/lib/python3.6/site-packages (from nbconvert->notebook>=4.0.0->qgrid)
Requirement already satisfied: pandocfilters>=1.4.1 in /srv/paws/lib/python3.6/site-packages (from nbconvert->notebook>=4.0.0->qgrid)
Requirement already satisfied: simplegeneric>0.8 in /srv/paws/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.0.0->qgrid)
Requirement already satisfied: pickleshare in /srv/paws/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.0.0->qgrid)
Requirement already satisfied: backcall in /srv/paws/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.0.0->qgrid)
Requirement already satisfied: pexpect; sys_platform != "win32" in /srv/paws/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.0.0->qgrid)
Requirement already satisfied: jedi>=0.10 in /srv/paws/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.0.0->qgrid)
Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.15 in /srv/paws/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.0.0->qgrid)
Requirement already satisfied: setuptools>=18.5 in /srv/paws/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.0.0->qgrid)
Requirement already satisfied: html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre in /srv/paws/lib/python3.6/site-packages (from bleach->nbconvert->notebook>=4.0.0->qgrid)
Requirement already satisfied: parso>=0.2.0 in /srv/paws/lib/python3.6/site-packages (from jedi>=0.10->ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.0.0->qgrid)
Requirement already satisfied: wcwidth in /srv/paws/lib/python3.6/site-packages (from prompt-toolkit<2.0.0,>=1.0.15->ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.0.0->qgrid)
Requirement already satisfied: webencodings in /srv/paws/lib/python3.6/site-packages (from html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre->bleach->nbconvert->notebook>=4.0.0->qgrid)
from sklearn.datasets import load_boston
import pandas as pd
boston = load_boston()
df = pd.DataFrame(boston['data'], columns=boston['feature_names'])
hdf = df[:20]
g=qgrid.show_grid(df,show_toolbar=False)
g
from IPython.display import display
grid = qgrid.QGridWidget(df=df)
display(grid)