Skip to content

Instantly share code, notes, and snippets.

@03juan
Created April 13, 2023 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 03juan/ef200186a790ca81f1377a817b1dfa47 to your computer and use it in GitHub Desktop.
Save 03juan/ef200186a790ca81f1377a817b1dfa47 to your computer and use it in GitHub Desktop.
livebook 0.9.1 DF error

Untitled notebook

Mix.install([
  {:kino_explorer, "~> 0.1.4"}
])
:ok

Section

require Explorer.DataFrame

df = Explorer.DataFrame.new(a: [1, 2, 3], b: ["a", "b", "c"])
df
IO.inspect(df)
#Explorer.DataFrame<
  Polars[3 x 2]
  a integer [1, 2, 3]
  b string ["a", "b", "c"]
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment