Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.4.0
-
None
Description
It's convenient to infer the data type so that users can just write pyarrow.Array.from_pandas(arr), however, sometimes users want fine-grained control, e.g., if we have an object type numpy array, whose values are all null. When we convert it to an arrow column vector, we may need a specific type instead of NullType.
Attachments
Issue Links
- depends upon
-
ARROW-229 [C++] Implement safe casts for primitive types
- Resolved
- is part of
-
ARROW-1492 [C++] Type casting function kernel suite
- Resolved
- relates to
-
ARROW-838 [Python] Efficient construction of arrays from non-pandas 1D NumPy arrays
- Resolved