Skip to content

Commit

Permalink
fix snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Nov 4, 2024
1 parent 3ed0ed5 commit 4b63012
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/website/docs/general-usage/accessing-loaded-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,15 @@ records = items_relation.fetchmany(chunk_size=10)
```py

# dataframes
for df_chunk in items_relation.select(["col1", "col2"]).limit(100).iter_df(chunk_size=20):
for df_chunk in items_relation.select("col1", "col2").limit(100).iter_df(chunk_size=20):
...

# arrow tables
for arrow_table in items_relation.select(["col1", "col2"]).limit(100).iter_arrow(chunk_size=20):
for arrow_table in items_relation.select("col1", "col2").limit(100).iter_arrow(chunk_size=20):
...

# python tuples
for records in items_relation.select(["col1", "col2"]).limit(100).iter_fetch(chunk_size=20):
for records in items_relation.select("col1", "col2").limit(100).iter_fetch(chunk_size=20):
# Process each modified DataFrame chunk
...
```
Expand Down

0 comments on commit 4b63012

Please sign in to comment.