Код: Выделить всё
df = pl.DataFrame({'a': [1,2,3], 'b':[['A','B'], ['C', 'D'], ['E', 'F']]})
df.write_database(
"test", "sqlite:///test.db",
if_table_exists = "replace",
)
Код: Выделить всё
pl.read_database_uri(query="SELECT * FROM test", uri="sqlite://test.db")
Код: Выделить всё
RuntimeError: Invalid column type Blob at index: 1, name: b
Подробнее здесь: https://stackoverflow.com/questions/788 ... o-database