Skip to content

Commit d695856

Browse files
author
Gerry Manoim
committed
MAINT: Push qgrid to a new npm home
1 parent 538f08a commit d695856

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ filtering controls, as well as edit your DataFrames by double clicking cells.
1414
Qgrid was developed for use in `Quantopian's hosted research environment
1515
<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>`_
1616
and is available for use in that environment as of June 2018.
17-
Quantopian also offers a `fully managed service for professionals <https://factset.quantopian.com>`_
17+
Quantopian also offers a `fully managed service for professionals <https://factset.quantopian.com>`_
1818
that includes Qgrid, Zipline, Alphalens, Pyfolio, FactSet data, and more.
1919

2020
Announcements: Qgrid Webinar
21-
----------------------------
21+
----------------------------
2222
Qgrid author Tim Shawver recently did a live webinar about Qgrid, and the recording of the webinar is `now available on YouTube <https://www.youtube.com/watch?v=AsJJpgwIX0Q>`_.
2323

2424
This talk will be interesting both for people that are new to Qgrid, as well as longtime fans that are interested in learning more about the project.
@@ -86,7 +86,7 @@ If you haven't already install jupyterlab and enabled ipywidgets, do that first
8686

8787
Install the qgrid-jupyterlab extension and enable::
8888

89-
jupyter labextension install qgrid
89+
jupyter labextension install qgrid2
9090

9191
At this point if you run jupyter lab normally with the 'jupyter lab' command, you should be
9292
able to use qgrid in notebooks as you normally would.
@@ -111,7 +111,7 @@ This feature can be thought of as the first row-specific option that qgrid suppo
111111

112112
def can_edit_row(row):
113113
return row['status'] == 'active'
114-
114+
115115
qgrid.show_grid(df, row_edit_callback=can_edit_row)
116116

117117
**New API methods for dynamically updating an existing qgrid widget (as of 1.1.0)**:
@@ -246,7 +246,7 @@ you open the ``index.html`` file in your browser, you should be able to preview
246246

247247
Events API
248248
----------
249-
As of qgrid 1.0.3 there are new ``on`` and ``off`` methods in qgrid which can be used to attach/detach event handlers. They're available 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>`_). Previously the only way to listen for events was to use undocumented parts of the API.
249+
As of qgrid 1.0.3 there are new ``on`` and ``off`` methods in qgrid which can be used to attach/detach event handlers. They're available 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>`_). Previously the only way to listen for events was to use undocumented parts of the API.
250250

251251
Having the ability to attach event handlers allows us to do some interesting things in terms of using qgrid in conjunction with other widgets/visualizations. One example is using qgrid to filter a DataFrame that's also being displayed by another visualization.
252252

js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "qgrid",
3-
"version": "1.1.1",
2+
"name": "qgrid2",
3+
"version": "1.1.2",
44
"description": "An Interactive Grid for Sorting and Filtering DataFrames in Jupyter Notebook",
55
"author": "Quantopian Inc.",
66
"main": "src/index.js",

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
notebook>=4.0.0
2-
pandas>=0.18.0
2+
pandas>=0.18.0,<1.0.0
33
ipywidgets>=7.0.0

0 commit comments

Comments
 (0)