chilin0525 opened a new issue, #49358:
URL: https://github.com/apache/arrow/issues/49358

   ### Describe the enhancement requested
   
   The docstring example for `pyarrow.parquet.filters_to_expression` calls the 
function without any import statement. 
   
   
https://github.com/apache/arrow/blob/8c27898d36f45ece9b0d114b3d6c6a42d20bde7f/python/pyarrow/parquet/core.py#L149
   
   The example should reflect how users would actually call the function:
   
   ```python
   >>> import pyarrow.parquet as pq
   >>> pq.filters_to_expression([('foo', '==', 'bar')])
   <pyarrow.compute.Expression (foo == "bar")>
   ```
   
   ### Component(s)
   
   Documentation


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to