Skip to content

Commit 44c5f7a

Browse files
Blake Hawkinsproost
Blake Hawkins
authored andcommitted
27820 clarify that read parquet accepts a directory path (pandas-dev#30048)
1 parent 24d9bef commit 44c5f7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/io/parquet.py

+4
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ def read_parquet(path, engine="auto", columns=None, **kwargs):
267267
URL schemes include http, ftp, s3, and file. For file URLs, a host is
268268
expected. A local file could be:
269269
``file://localhost/path/to/table.parquet``.
270+
A file URL can also be a path to a directory that contains multiple
271+
partitioned parquet files. Both pyarrow and fastparquet support
272+
paths to directories as well as file URLs. A directory path could be:
273+
``file://localhost/path/to/tables``
270274
271275
If you want to pass in a path object, pandas accepts any
272276
``os.PathLike``.

0 commit comments

Comments
 (0)