Skip to content

Commit 655cc3c

Browse files
authored
Merge pull request #205 from quantopian/update-readme
Update readme and API docs
2 parents 4a6bdd5 + 358b22e commit 655cc3c

3 files changed

Lines changed: 45 additions & 12 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
same "printed page" as the copyright notice for easier
188188
identification within third-party archives.
189189

190-
Copyright [yyyy] [name of copyright owner]
190+
Copyright 2018 Quantopian, Inc.
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.

README.rst

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,46 @@ Qgrid is a Jupyter notebook widget which uses `SlickGrid <https://github.com/mle
1111
DataFrames within a Jupyter notebook. This allows you to explore your DataFrames with intuitive scrolling, sorting, and
1212
filtering controls, as well as edit your DataFrames by double clicking cells.
1313

14-
What's New in 1.0.3 - Introducing Qgrid Events
15-
----------------------------------------------
16-
Qgrid has some new API methods as of version 1.0.3 which can be used to attach event handlers. Event handlers are callback methods that get called when certain events occur in the qgrid interface. In qgrid 1.0.3, event handlers can be attached with the ``on`` method and detached with the ``off`` method. There are ``on`` and ``off`` methods on both the ``qgrid`` module (see `qgrid.on <https://qgrid.readthedocs.io/en/latest/#qgrid.on>`_), and on individual QgridWidget instances (see `qgrid.QgridWidget.on <https://qgrid.readthedocs.io/en/latest/#qgrid.QgridWidget.on>`_).
14+
Qgrid was developed for use in `Quantopian's hosted research environment
15+
<https://www.quantopian.com/posts/qgrid-now-available-in-research-an-interactive-grid-for-sorting-and-filtering-dataframes?utm_source=github&utm_medium=web&utm_campaign=qgrid-repo>`_
16+
and is available for use in that environment as of June 2018.
17+
18+
What's New
19+
----------
20+
**Improved MultiIndex Support (as of 1.0.6-beta.6)**:
21+
Qgrid now displays multi-indexed DataFrames with some of the index cells merged for readability, as is normally done when viewing DataFrames as a static html table. The following image shows qgrid displaying a multi-indexed DataFrame that was returned from Quantopian's `Pipeline API <https://www.quantopian.com/tutorials/pipeline?utm_source=github&utm_medium=web&utm_campaign=qgrid-repo>`_:
22+
23+
.. figure:: https://s3.amazonaws.com/quantopian-forums/pipeline_with_qgrid.png
24+
:align: left
25+
:target: https://s3.amazonaws.com/quantopian-forums/pipeline_with_qgrid.png
26+
:width: 100px
27+
28+
**Qgrid Events (as of 1.0.3)**:
29+
Qgrid has some new API methods which can be used to attach event handlers. Event handlers are callback methods that get called when certain events occur in the qgrid interface. In qgrid 1.0.3, event handlers can be attached with the ``on`` method and detached with the ``off`` method. There are ``on`` and ``off`` methods on both the ``qgrid`` module (see `qgrid.on <https://qgrid.readthedocs.io/en/latest/#qgrid.on>`_), and on individual QgridWidget instances (see `qgrid.QgridWidget.on <https://qgrid.readthedocs.io/en/latest/#qgrid.QgridWidget.on>`_).
1730

1831
To get a better idea of how these methods might be used, see the `Events API`_ section below.
1932

2033
Demo
2134
----
22-
Click the badge below to try out qgrid in a live sample notebook:
35+
Click the badge below to try out the latest beta of qgrid in Quantopian's hosted research environment. If you're already signed into Quantopian you'll be brought directly to the demo notebook. Otherwise you'll be prompted to register (it's free):
36+
37+
.. image:: https://img.shields.io/badge/launch-quantopian-red.svg?colorB=d33015
38+
:target: https://www.quantopian.com/clone_notebook?id=5b2baee1b3d6870048620188&utm_source=github&utm_medium=web&utm_campaign=qgrid-repo
39+
|
40+
Click the badge below to try out qgrid using binder:
2341

24-
.. image:: https://beta.mybinder.org/badge.svg
42+
.. image:: https://beta.mybinder.org/badge.svg
2543
:target: https://mybinder.org/v2/gh/quantopian/qgrid-notebooks/master?filepath=index.ipynb
2644
|
27-
Click the following badge to try out qgrid in Jupyterlab:
45+
Click the following badge to try out qgrid in Jupyterlab, also using binder:
2846

29-
.. image:: https://mybinder.org/badge.svg
47+
.. image:: https://mybinder.org/badge.svg
3048
:target: https://mybinder.org/v2/gh/quantopian/qgrid-notebooks/master?urlpath=lab
3149
|
3250
*For both binder links, you'll see a brief loading screen while a server is being created for you in the cloud. This shouldn't take more than a minute, and usually completes in under 10 seconds.*
3351

52+
*The binder demos generally will be using the most recent stable release of qgrid, so features that were added in a recent beta version may not be available in those demos.*
53+
3454
For people who would rather not go to another page to try out qgrid for real, here's the tldr; version:
3555

3656
.. figure:: docs/images/filtering_demo.gif

docs/index.rst

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@
1212
Qgrid API Documentation
1313
=======================
1414

15-
Qgrid is an `Jupyter notebook widget <https://github.com/ipython/ipywidgets>`_ which uses
16-
`SlickGrid <https://github.com/mleibman/SlickGrid>`_ to render `pandas <https://github.com/pydata/pandas>`_ DataFrames
17-
as interactive grid controls.
15+
Qgrid is a Jupyter notebook widget which uses `SlickGrid <https://github.com/mleibman/SlickGrid>`_ to render pandas
16+
DataFrames within a Jupyter notebook. This allows you to explore your DataFrames with intuitive scrolling, sorting, and
17+
filtering controls, as well as edit your DataFrames by double clicking cells.
18+
19+
Qgrid was developed for use in `Quantopian's hosted research environment
20+
<https://www.quantopian.com/posts/qgrid-now-available-in-research-an-interactive-grid-for-sorting-and-filtering-dataframes?utm_source=readthedocs&utm_medium=web&utm_campaign=qgrid-repo>`_
21+
and is available for use in that environment as of June 2018.
22+
1823

1924
Other qgrid resources
2025
---------------------
@@ -26,8 +31,16 @@ resources:
2631
This is where you'll find the source code and the rest of the documentation for the project, including the
2732
instructions for installing and running qgrid.
2833

34+
`qgrid demo on Quantopian <https://www.quantopian.com/clone_notebook?id=5ae9cff15230100046c3958d&utm_source=readthedocs&utm_medium=web&utm_campaign=qgrid-repo>`_
35+
Click the badge below try out the latest beta of qgrid in Quantopian's hosted research environment. If you're
36+
already signed into Quantopian you'll be brought directly to the demo notebook. Otherwise you'll be prompted
37+
to register (it's free):
38+
39+
.. image:: https://img.shields.io/badge/launch-quantopian-red.svg?colorB=d33015
40+
:target: https://www.quantopian.com/clone_notebook?id=5b2baee1b3d6870048620188&utm_source=github&utm_medium=web&utm_campaign=qgrid-repo
41+
2942
`qgrid demo on binder <https://beta.mybinder.org/v2/gh/quantopian/qgrid-notebooks/master?filepath=index.ipynb>`_
30-
Click the badge below or the link above to try out qgrid in your browser. You'll see a brief loading screen and
43+
Click the badge below or the link above to try out qgrid using binder. You'll see a brief loading screen and
3144
then a notebook will appear:
3245

3346
.. image:: https://beta.mybinder.org/badge.svg

0 commit comments

Comments
 (0)