Skip to content

Commit

Permalink
typos in comments and docs (#1761)
Browse files Browse the repository at this point in the history
* typos in comments and docs

* noqa: E501 for docstring

* use python REPL style multiline
  • Loading branch information
mycaule authored Nov 11, 2022
1 parent dedb1c2 commit 03fdd9b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions awswrangler/s3/_read_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,14 +708,17 @@ def read_parquet(
Reading in chunks (Chunk by file)
>>> import awswrangler as wr
>>> dfs = wr.s3.read_parquet(path=['s3://bucket/filename0.csv', 's3://bucket/filename1.csv'], chunked=True)
>>> dfs = wr.s3.read_parquet(path=['s3://bucket/filename0.parquet', 's3://bucket/filename1.parquet'], chunked=True)
>>> for df in dfs:
>>> print(df) # Smaller Pandas DataFrame
Reading in chunks (Chunk by 1MM rows)
>>> import awswrangler as wr
>>> dfs = wr.s3.read_parquet(path=['s3://bucket/filename0.csv', 's3://bucket/filename1.csv'], chunked=1_000_000)
>>> dfs = wr.s3.read_parquet(
... path=['s3://bucket/filename0.parquet', 's3://bucket/filename1.parquet'],
... chunked=1_000_000
... )
>>> for df in dfs:
>>> print(df) # 1MM Pandas DataFrame
Expand Down

0 comments on commit 03fdd9b

Please sign in to comment.