Код: Выделить всё
import polars as pl
pl.DataFrame(dict(x=pl.repeat(1, 3)))
# shape: (3, 1)
# ┌─────┐
# │ x │
# │ --- │
# │ i64 │
# ╞═════╡
# │ 1 │
# │ 1 │
# │ 1 │
# └─────┘
Код: Выделить всё
ValueError: Series constructor not called properly.
Подробнее здесь: https://stackoverflow.com/questions/716 ... -in-polars