You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "chilin0525 (via GitHub)" <gi...@apache.org> on 2026/02/22 05:22:12 UTC
[I] [Python][Doc] Add import statement to `filters_to_expression` docstring example [arrow]
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org