You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Tishj (via GitHub)" <gi...@apache.org> on 2024/04/18 20:51:12 UTC
[I] [Python] MapArray `from_pandas` containing None crashes Python [arrow]
Tishj opened a new issue, #41300:
URL: https://github.com/apache/arrow/issues/41300
### Describe the bug, including details regarding any error messages, version, and platform.
```py
import pandas as pd
import pyarrow as pa
df = pd.DataFrame({0: [None]})
arr = pa.MapArray.from_pandas(df, type=pa.map_(pa.int32(), pa.int32()))
```
Results in:
```
/Users/voltrondata/github-actions-runner/_work/crossbow/crossbow/arrow/cpp/src/arrow/array/array_nested.cc:848: Check failed: _s.ok() Operation failed: ValidateChildData(data->child_data)
```
Followed by crashing Python
### 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-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] MapArray `from_pandas` containing None crashes Python [arrow]
Posted by "Tishj (via GitHub)" <gi...@apache.org>.
Tishj closed issue #41300: [Python] MapArray `from_pandas` containing None crashes Python
URL: https://github.com/apache/arrow/issues/41300
--
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
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] MapArray `from_pandas` containing None crashes Python [arrow]
Posted by "Tishj (via GitHub)" <gi...@apache.org>.
Tishj commented on issue #41300:
URL: https://github.com/apache/arrow/issues/41300#issuecomment-2065303716
Ah.. seems to be a duplicate of <https://github.com/apache/arrow/issues/41283>
My bad
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org