Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaskruchten authored May 8, 2017
1 parent 36bfe23 commit 5336d9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Usage
-----

.. code:: python
import pandas as pd
df = pd.read_csv("some_input.csv")
Expand All @@ -26,11 +27,13 @@ Advanced Usage
Include any `valid 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.

.. code:: python
pivot_ui(df, outfile_path="x.html", url_prefix="http://localhost/path/")
.. _Jupyter/IPython Notebook: http://jupyter.org/
Expand Down

0 comments on commit 5336d9a

Please sign in to comment.