elixir-explorer / explorer

Series (one-dimensional) and dataframes (two-dimensional) for fast and elegant data exploration in Elixir
https://hexdocs.pm/explorer
MIT License
1.12k stars 123 forks source link

Add function clause for `%FSS.HTTP.Entry{}` #992

Closed billylanchantin closed 1 month ago

billylanchantin commented 1 month ago

Closes: https://github.com/elixir-explorer/explorer/issues/991

{:ok, entry} = FSS.HTTP.parse("https://huggingface.co/datasets/aqubed/kub_tickets_small/resolve/main/data/train-00000-of-00001-47868532d4f55873.parquet")

Explorer.DataFrame.from_parquet!(entry)
# #Explorer.DataFrame<
#   Polars[1099 x 11]
#   number s64 [120202, 120201, 120200, 120198, 120197, ...]
#   ...
# >