You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/02/06 18:52:00 UTC
[jira] [Assigned] (ARROW-7662) [R] Support creating ListArray from
R list
[ https://issues.apache.org/jira/browse/ARROW-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neal Richardson reassigned ARROW-7662:
--------------------------------------
Assignee: Neal Richardson
> [R] Support creating ListArray from R list
> ------------------------------------------
>
> Key: ARROW-7662
> URL: https://issues.apache.org/jira/browse/ARROW-7662
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Michael Chirico
> Assignee: Neal Richardson
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 5h 20m
> Remaining Estimate: 0h
>
> {code:r}
> DF = data.frame(a = 1:10)
> DF$b = as.list(DF$a)
> arrow::write_parquet(DF, 'test.parquet')
> # Error in Table__from_dots(dots, schema) : cannot infer type from data
> {code}
> This appears to be supported naturally already in Python:
> {code:python}
> import pandas as pd
> pd.DataFrame({'a': [1, 2, 3], 'b': [[1, 2], [3, 4], [5, 6]]}).to_parquet('test.parquet')
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)