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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Consider this code
   
   ```python
   import pandas as pd
   from pyarrow.parquet import ParquetFile
   
   df = pd.DataFrame({"a": [1], "b": [2]})
   df.to_parquet('/tmp/test.parquet')
   f = ParquetFile('/tmp/test.parquet')
   f.schema.column('a')
   ```
   
   Using pyarrow 11.0.0 and pandas 1.5.3, I get the following error from the 
last line:
   
   ```
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "pyarrow/_parquet.pyx", line 907, in 
pyarrow._parquet.ParquetSchema.column
   TypeError: '<' not supported between instances of 'str' and 'int'
   ```
   
   ### Component(s)
   
   Python


-- 
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