You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Uwe Korn (Jira)" <ji...@apache.org> on 2020/09/21 18:44:00 UTC
[jira] [Resolved] (ARROW-10045) Pandas -> PyArrow ->JS
[ https://issues.apache.org/jira/browse/ARROW-10045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Korn resolved ARROW-10045.
------------------------------
Assignee: Uwe Korn
Resolution: Workaround
> Pandas -> PyArrow ->JS
> ----------------------
>
> Key: ARROW-10045
> URL: https://issues.apache.org/jira/browse/ARROW-10045
> Project: Apache Arrow
> Issue Type: Improvement
> Components: JavaScript
> Affects Versions: 1.0.1
> Reporter: Adam Lippai
> Assignee: Uwe Korn
> Priority: Major
>
> Does the JS Table reader work?
> I return pa.serialize(pa.Table.from_pandas(df)).to_buffer().to_pybytes() as application/octet-stream from a HTTP endpoint.
> Then using Javascript I try to read it:
> const table = await Table.from(fetch(("/myendpoint")));
> console.log(table.toString());
> but it prints only [object Object] and using the debugger shows an empty&unusable table. Schema and data is empty, the column with the given name is not found.
> It doesn't throw any error.
> How is this supposed to work? Do I miss something on the python or JS side?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)