reading parquet

Hi, I was interested in trying to load a parquet file from GitHub using @kylebarron’s notebook. I asked how to do so in the comments and Kyle responded with this command, but I’m unsure exactly where to use the command

`resp = await fetch(url); await resp.arrayBuffer();`

When I try to read this parquet file from this GitHub URL

https://github.com/cornhundred/test-parquet-data/blob/main/meta_cell.parquet?raw=true

using

{var resp = await fetch(url); await resp.arrayBuffer();}

I get a error:

TypeError: Failed to fetch

that GitHub url is not accessible due to CORS, but it redirects to https://raw.githubusercontent.com/cornhundred/test-parquet-data/main/meta_cell.parquet which is accessible.

1 Like