thisisnic commented on issue #41936:
URL: https://github.com/apache/arrow/issues/41936#issuecomment-7151732025
I used an AI agent to rerun this on current releases, and I've reviewed the
results.
----------------
🤖 :
This still happens on pyarrow 26.0.1, and with pandas 3 it now affects
ordinary string columns, since those are Arrow-backed by default:
```python
import pandas as pd
import pyarrow as pa
df = pd.DataFrame({"s": ["a", "b"]})
pa.RecordBatch.from_pandas(pd.concat([df, df]))
# pandas 2.3.3: works
# pandas 3.1.1: TypeError: Cannot convert pyarrow.lib.ChunkedArray to
pyarrow.lib.Array
```
`pa.Table.from_pandas()` works in both cases. Integer columns are unaffected
unless they use an Arrow-backed dtype, as in the original report.
--
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]