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

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

    [ https://issues.apache.org/jira/browse/ARROW-10045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199425#comment-17199425 ] 

Neal Richardson commented on ARROW-10045:
-----------------------------------------

Possibly relevant: ARROW-9518 [~jorisvandenbossche]?

> 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
>            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)