Skip to content

Commit 7b03ff2

Browse files
author
y-p
committed
DOC: fix IPython snippet
1 parent 95a5326 commit 7b03ff2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/io.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -1715,9 +1715,9 @@ engine. You can use a temporary SQLite database where data are stored in
17151715
Col_2 float,
17161716
Col_3 bool);""")
17171717
cu.executemany('INSERT INTO data VALUES (?,?,?,?,?)',
1718-
[(26, datetime(2010,10,18), 'X', 27.5, True),
1719-
(42, datetime(2010,10,19), 'Y', -12.5, False),
1720-
(63, datetime(2010,10,20), 'Z', 5.73, True)])
1718+
[(26, datetime.datetime(2010,10,18), 'X', 27.5, True),
1719+
(42, datetime.datetime(2010,10,19), 'Y', -12.5, False),
1720+
(63, datetime.datetime(2010,10,20), 'Z', 5.73, True)])
17211721
17221722
17231723
Let ``data`` be the name of your SQL table. With a query and your database

0 commit comments

Comments
 (0)