Код: Выделить всё
df = pl.DataFrame({
'col1': [["1.0", "1.0"], ["2.0", "3.0"]],
'col2': ["a", "a"],
})
Код: Выделить всё
shape: (2, 2)
┌─────────┬──────┐
│ col1 ┆ col2 │
│ --- ┆ --- │
│ str ┆ str │
╞═════════╪══════╡
│ 1.0,1.0 ┆ a │
│ 2.0,3.0 ┆ a │
└─────────┴──────┘
Подробнее здесь: https://stackoverflow.com/questions/756 ... tring-type