vscode-data-preview
vscode-data-preview copied to clipboard
Pandas Parquet not shown ("loading data" forever)
Problem: When I save a pandas.DataFrame
with df.to_parquet
(using pyarrow as backend), it can not be opened with DataPreview:
- DataPreview is empty and showing "Loading data.." in the footer forever
- It does not matter how big the dataframe is, also very small ones are not loaded
- I tried it with suffix
.parquet
as well as.arrow
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!
Parquet viewing doesn't work on Windows or mac.
but I'm using Linux (NixOS 23.11) and it's not working
@kzeitz that would be something pretty important to note in the extension page.
meanwhile, for anyone looking for a vscode extension that handles parquet well, i can recommend Data Wrangler