Skip to content

Commit d2bc2fe

Browse files
DOC: fix example sql chunksize
1 parent aaba591 commit d2bc2fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3421,7 +3421,7 @@ Specifying this will return an iterator through chunks of the query result:
34213421
34223422
.. ipython:: python
34233423
3424-
for chunk in pd.read_sql_query("SELECT * FROM data_chunks", engine, chunksize):
3424+
for chunk in pd.read_sql_query("SELECT * FROM data_chunks", engine, chunksize=5):
34253425
print(chunk)
34263426
34273427
You can also run a plain query without creating a dataframe with

0 commit comments

Comments
 (0)