RandomFractals / vscode-data-preview

Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.vscode-data-preview
Apache License 2.0
555 stars 59 forks source link

Pandas Parquet not shown ("loading data" forever) #338

Open turbotimon opened 10 months ago

turbotimon commented 10 months ago

Problem: When I save a pandas.DataFrame with df.to_parquet (using pyarrow as backend), it can not be opened with DataPreview:

Console Log:

> window.WebComponentsReady

 data viewer initialized!

> document.readystatechange complete

 data.view:complete!

> loadDataInfo()

 data url: file:///home/test.parquet
 data table: 

> restoreConfig(
{})

> 

Any recommendation how to fix?

BTW: Really like the extension!

kzeitz commented 9 months ago

Parquet viewing doesn't work on Windows or mac.

turbotimon commented 9 months ago

but I'm using Linux (NixOS 23.11) and it's not working

D3SL commented 4 months ago

@kzeitz that would be something pretty important to note in the extension page.

turbotimon commented 4 months ago

meanwhile, for anyone looking for a vscode extension that handles parquet well, i can recommend Data Wrangler