Skip to content

Commit 9243947

Browse files
authored
apacheGH-46374: [Python][Doc] Improve docs to specify that source argument on parquet.read_table can also be a list of strings (apache#47142)
See apache#46374 ### What changes are included in this PR? The docstring for `parquet.read_table` doesn't specify that the source can be a list of strings: This is regarding the change for _read_table_docstring which source can be a list of string as well ### Are there any user-facing changes? Only docs changed. * GitHub Issue: apache#46374 Authored-by: Soroush Rasti <rasti.soroush@gmail.com> Signed-off-by: Rok Mihevc <rok@mihevc.org>
1 parent 9091c0b commit 9243947

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

python/pyarrow/parquet/core.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1679,10 +1679,11 @@ def partitioning(self):
16791679
16801680
Parameters
16811681
----------
1682-
source : str, pyarrow.NativeFile, or file-like object
1683-
If a string passed, can be a single file name or directory name. For
1684-
file-like objects, only read a single file. Use pyarrow.BufferReader to
1685-
read a file contained in a bytes or buffer-like object.
1682+
source : str, list of str, pyarrow.NativeFile, or file-like object
1683+
If a string is passed, can be a single file name or directory name. If a
1684+
list of strings is passed, should be file names. For file-like objects,
1685+
only read a single file. Use pyarrow.BufferReader to read a file contained
1686+
in a bytes or buffer-like object.
16861687
columns : list
16871688
If not None, only these columns will be read from the file. A column
16881689
name may be a prefix of a nested field, e.g. 'a' will select 'a.b',

0 commit comments

Comments
 (0)