Skip to content

Commit bc034b7

Browse files
akbakb
authored andcommitted
Show csv first
1 parent f66f44c commit bc034b7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,9 +495,18 @@ Generate json objects
495495
Read csv file
496496
+++++++++++++
497497
498-
Read a csv file into Python dicts.
498+
Read a csv file into Python dicts. Given a csv like this:
499499
500500
501+
.. code-block:: bash
502+
503+
% cat names.csv
504+
name,age
505+
Alice,21
506+
Bob,25
507+
508+
try:
509+
501510
.. code-block:: bash
502511
503512
% mario csv < names.csv

0 commit comments

Comments
 (0)