[
https://issues.apache.org/jira/browse/ARROW-2198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376115#comment-16376115
]
ASF GitHub Bot commented on ARROW-2198:
---------------------------------------
wesm commented on a change in pull request #1654: ARROW-2198: [Python] correct
docstring for parquet.read_table
URL: https://github.com/apache/arrow/pull/1654#discussion_r170456329
##########
File path: python/pyarrow/parquet.py
##########
@@ -869,7 +869,7 @@ def read_table(source, columns=None, nthreads=1,
metadata=None,
Parameters
----------
- source: str or pyarrow.io.NativeFile
+ source: str or python file object
Location of Parquet dataset. If a string passed, can be a single file
name or directory name. For passing Python file objects or byte
buffers, see pyarrow.io.PythonFileInterface or pyarrow.io.BufferReader.
Review comment:
The text here is still incorrect or misleading -- I can take a pass on this
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [Python] Docstring for parquet.read_table is misleading or incorrect
> --------------------------------------------------------------------
>
> Key: ARROW-2198
> URL: https://issues.apache.org/jira/browse/ARROW-2198
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Wes McKinney
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.9.0
>
>
> See https://github.com/apache/arrow/blob/master/python/pyarrow/parquet.py#L872
> One should be able to pass a Python file object directly. The docstring
> suggests otherwise
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)