Using apache-arrow js (https://github.com/apache/arrow/tree/master/js), I can read arrow file (or even feather file) by a few lines only.
const arrow = fs.readFileSync("test.feather");
const table = apArrow.Table.from([arrow]);
However I found that the trailing zero are being removed.
In python dataframe (original data)
4.185771942138672,2019-12-02,2019-12-01,0.0
4.185771942138672,2019-12-03,2019-12-02,1.2
After reading with arrow-js library:
4.185771942138672,2019-12-02,2019-12-01,0
4.185771942138672,2019-12-03,2019-12-02,1.2
Is there any way to avoid the trailing zero being removed?
==== Update ====
Supplement the reason behind asking this question: I would like to compare the data between python Dataframe and the one read from/ export by arrow-js and make sure the output from js are exactly same with the one in python dataframe. Currently it is hard to do the (apple-to-apple) comparison since many rows shown difference due to this trailing zero issue