You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Adam Lippai (Jira)" <ji...@apache.org> on 2020/09/19 23:46:00 UTC

[jira] [Created] (ARROW-10045) Pandas -> PyArrow ->JS

Adam Lippai created ARROW-10045:
-----------------------------------

             Summary: 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


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:

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)