enso-org / dataframes

A library for working with tabular data in Luna.
https://luna-lang.org
MIT License
6 stars 5 forks source link

Table.fromFile does not recognize XLSX files #66

Closed mwu-tow closed 5 years ago

mwu-tow commented 6 years ago

I should be able to read Dataframe when using Table.fromFile "path/to/file.xlsx

sylwiabr commented 6 years ago

on MacOS Table.readFile on xlsx file returns strange results still

zrzut ekranu 2018-10-24 o 08 45 34
mwu-tow commented 6 years ago

What's the file? The sample one from repo? Path is not visible on the screenshot. I just run

def main:
    t = Table.fromFile "./data/sample_xlsx.xlsx"
    print t

and got

Running in interpreted mode.
[[4, 7, 10], [, 8, 11], [6, 9, 12]]

so there must be something more to this issue.

Please try: 1) If running the main above works in Luna Studio on Mac 2) If not — does it work in shell Luna?

Also, just to be absolutely sure — you have latest master and have built the project after pull?

sylwiabr commented 5 years ago

Ok there was sth wrong with my xlnt library build

mikusp commented 5 years ago

Works as Table.read