[
https://issues.apache.org/jira/browse/ARROW-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16406930#comment-16406930
]
Antoine Pitrou commented on ARROW-2281:
---------------------------------------
I'm not sure we need to expose {{ArrayData}} in Python. We could simply make it
implicit in our factory method, e.g.:
{code:python}
cdef class Array:
@classmethod
def from_buffers(cls, type, length, buffers, null_count=-1, offset=0):
...
{code}
> [Python] Expose MakeArray to construct arrays from buffers
> ----------------------------------------------------------
>
> Key: ARROW-2281
> URL: https://issues.apache.org/jira/browse/ARROW-2281
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Uwe L. Korn
> Assignee: Uwe L. Korn
> Priority: Major
> Fix For: 0.10.0
>
>
> To create new arrays from existing buffers in Python, we would need to call
> into the C++ {{MakeArray}} method. This would then construct the Array and we
> would only wrap it in Python to have construction support for all Array types.
> This would also mean that we need to have a Python representation of
> {{ArrayData}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)