Skip to content

Commit a05b8ed

Browse files
Merge pull request #8510 from jorisvandenbossche/doc-fixes
DOC: fix example sql chunksize
2 parents aaba591 + d2bc2fe commit a05b8ed

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)