wonb168 opened a new issue, #45337:
URL: https://github.com/apache/arrow/issues/45337
### Describe the bug, including details regarding any error messages,
version, and platform.
when pandas has a null column,compare will get a False,
```
import duckdb as dd
df=dd.sql("select null as id").df()
df['id']>1
```
0 False
Name: id, dtype: bool
but change to arrow, will get NA, how to get False?
```
import pyarrow as pa
import pandas as pd
df2=pa.Table.from_pandas(df).to_pandas(types_mapper=pd.ArrowDtype,use_threads=True)
df2['id']>1
```
0 <NA>
Name: id, dtype: bool[pyarrow]
### 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]