Skip to content

Commit

Permalink
Update one-liners.rst.jj2
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Feb 14, 2022
1 parent a369a0f commit 8d31fa8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .moban.d/one-liners.rst.jj2
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,11 @@ Get a dictionary

You can get a dictionary too:

Now let's get a dictionary out from the spreadsheet:

.. code-block:: python

>>> my_dict = p.get_dict(file_name="your_file.xls", name_columns_by_row=0)

And check what do we have:
And let's have a look inside:

.. code-block:: python

Expand Down Expand Up @@ -597,4 +595,4 @@ for the output file, you can specify any of the supported formats
>>> os.unlink("book.xls")
>>> os.unlink("your_file.xls")
>>> os.unlink("example.csv")
{% endif %}
{% endif %}

0 comments on commit 8d31fa8

Please sign in to comment.