Hello,
I’m trying to load a json API message with Explorer.DataFrame.
My api is returning a list like bellow:
resp = [%{"idade" => "8", "nome" => "Mirela"}, %{"idade" => "40", "nome" => "Sergio"}]
When I try to run the following code:
require Explorer.DataFrame, as: DF
DF.load_ndjson!(Jason.encode!(resp), lazy: true)
I got an error:
** (ErlangError) Erlang error: :nif_panicked
(explorer 0.5.7) Explorer.PolarsBackend.Native.df_load_ndjson("...
But if I change to read the first element it works as well.
require Explorer.DataFrame, as: DF
DF.load_ndjson!(Jason.encode!(List.first(resp)))
How to read the entire data ?
Thank you.






















