-
I am using import polars as pl
xs = ["a", "b", "c"]
xs = pl.Series("x", xs, dtype=pl.Enum(xs))
df = pl.DataFrame(xs)
print(df) Which produces:
Then, I load this using Ibis:
Which produces:
I do the same thing, but this time using DuckDB:
Okay, now loading it using import ibis
ibis.options.interactive = True
conn = ibis.connect("duckdb://enum.db")
conn.table("dummy")
So we get the It seems like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thanks for the report @bzm3r ! The polars issue looks like a bug, we can fix that up. The DuckDB behavior is expected -- Ibis treats them as a |
Beta Was this translation helpful? Give feedback.
Hi @bzm3r -- the polars bug is fixed on
main
now.