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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   ```python
   >>> import pandas as pd
   >>> pd.__version__ 
   '2.2.2'
   >>> import pyarrow as pa
   >>> pa.__version__
   '16.1.0'
   >>> df = pd.DataFrame({"1": [1]}).astype({"1": "int32[pyarrow]"})
   >>> concat_df = pd.concat([df, df])
   >>> pa.RecordBatch.from_pandas(df)
   pyarrow.RecordBatch
   1: int32
   ----
   1: [1]
   
   >>> pa.RecordBatch.from_pandas(concat_df)
   
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "pyarrow/table.pxi", line 3289, in pyarrow.lib.RecordBatch.from_pandas
     File "pyarrow/table.pxi", line 3379, in pyarrow.lib.RecordBatch.from_arrays
   TypeError: Cannot convert pyarrow.lib.ChunkedArray to pyarrow.lib.Array
   ```
   
   This has been observed on my **macOS Sonoma 14.5** as well as on a server 
running linux.
   
   ### 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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to