``pivottablejs``: the Python module
===================================
Drag’n’drop Pivot Tables and Charts for `Jupyter/IPython Notebook`_,
care of `PivotTable.js`_
Installation
------------
``pip install pivottablejs``
Usage
-----
.. code:: python
import pandas as pd
df = pd.read_csv("some_input.csv")
from pivottablejs import pivot_ui
pivot_ui(df)
Advanced Usage
--------------
Include any `option to PivotTable.js's pivotUI() function`_ as a keyword argument.
.. code:: python
pivot_ui(df, rows=['row_name'], cols=['col_name'])
Independently control the output file path and the URL used to access it from Jupyter, in case the default relative-URL behaviour is incompatible with Jupyter's settings.
.. code:: python
pivot_ui(df, outfile_path="/x/y.html", url="http://localhost/a/b/x.html")
.. _Jupyter/IPython Notebook: http://jupyter.org/
.. _PivotTable.js: https://github.com/nicolaskruchten/pivottable
.. _option to PivotTable.js's pivotUI() function: https://github.com/nicolaskruchten/pivottable/wiki/Parameters#options-object-for-pivotui
Raw data
{
"_id": null,
"home_page": "https://github.com/nicolaskruchten/jupyter_pivottablejs",
"name": "pivottablejs",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "pivot table grid pivottable pivotgrid pivotchart crosstab",
"author": "Nicolas Kruchten",
"author_email": "nicolas@kruchten.com",
"download_url": "https://files.pythonhosted.org/packages/d9/ac/bd261fdff9f6a6e8e28abbb1b007b812b1feb1b6bfaf43191f042f4e1c3c/pivottablejs-0.9.0.tar.gz",
"platform": "",
"description": "``pivottablejs``: the Python module\n===================================\n\nDrag\u2019n\u2019drop Pivot Tables and Charts for `Jupyter/IPython Notebook`_,\ncare of `PivotTable.js`_\n\nInstallation\n------------\n\n``pip install pivottablejs``\n\nUsage\n-----\n\n.. code:: python\n\n import pandas as pd\n df = pd.read_csv(\"some_input.csv\")\n\n from pivottablejs import pivot_ui\n\n pivot_ui(df)\n\nAdvanced Usage\n--------------\n\nInclude any `option to PivotTable.js's pivotUI() function`_ as a keyword argument.\n\n.. code:: python\n\n pivot_ui(df, rows=['row_name'], cols=['col_name'])\n\nIndependently control the output file path and the URL used to access it from Jupyter, in case the default relative-URL behaviour is incompatible with Jupyter's settings.\n\n.. code:: python\n\n pivot_ui(df, outfile_path=\"/x/y.html\", url=\"http://localhost/a/b/x.html\")\n\n.. _Jupyter/IPython Notebook: http://jupyter.org/\n.. _PivotTable.js: https://github.com/nicolaskruchten/pivottable\n.. _option to PivotTable.js's pivotUI() function: https://github.com/nicolaskruchten/pivottable/wiki/Parameters#options-object-for-pivotui\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "PivotTable.js integration for Jupyter/IPython Notebook",
"version": "0.9.0",
"project_urls": {
"Homepage": "https://github.com/nicolaskruchten/jupyter_pivottablejs"
},
"split_keywords": [
"pivot",
"table",
"grid",
"pivottable",
"pivotgrid",
"pivotchart",
"crosstab"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0b0f46f1c9a1c9bf1540d3b7803753517fa9755cddc648769ba8cd67de82b51c",
"md5": "9786ea262b6da132d93812d3dc582942",
"sha256": "106dd59a81248664001a952c533aa73de532908b7a6a94e87cb7c39f113ad792"
},
"downloads": -1,
"filename": "pivottablejs-0.9.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "9786ea262b6da132d93812d3dc582942",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 4682,
"upload_time": "2018-01-15T18:14:37",
"upload_time_iso_8601": "2018-01-15T18:14:37.285624Z",
"url": "https://files.pythonhosted.org/packages/0b/0f/46f1c9a1c9bf1540d3b7803753517fa9755cddc648769ba8cd67de82b51c/pivottablejs-0.9.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d9acbd261fdff9f6a6e8e28abbb1b007b812b1feb1b6bfaf43191f042f4e1c3c",
"md5": "c2fb86345de75b2099bc88475b74f2a0",
"sha256": "9f0f9f692330f2f635dc37f05ad99da84646e4f3dbf9fe849cf6889de4b3210b"
},
"downloads": -1,
"filename": "pivottablejs-0.9.0.tar.gz",
"has_sig": false,
"md5_digest": "c2fb86345de75b2099bc88475b74f2a0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3569,
"upload_time": "2018-01-15T18:14:38",
"upload_time_iso_8601": "2018-01-15T18:14:38.238398Z",
"url": "https://files.pythonhosted.org/packages/d9/ac/bd261fdff9f6a6e8e28abbb1b007b812b1feb1b6bfaf43191f042f4e1c3c/pivottablejs-0.9.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2018-01-15 18:14:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nicolaskruchten",
"github_project": "jupyter_pivottablejs",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "pandas",
"specs": []
}
],
"lcname": "pivottablejs"
}