lancedb/lancedb
Vedi su GitHubfeat(python): support `DataFrame` or reader in `Table.add_columns()`
Open
Aperta il 18 dic 2024
Pythonenhancementgood first issue
Descrizione
At the Rust level, we support readers/streams in add_columns():
https://docs.rs/lance/latest/lance/dataset/enum.NewColumnTransform.html
But in Python, we only support the SQLExpressions option:
We should add support for a reader (which can come from a DataFrame). Here's an example of a method that takes a reader:
In Python, we convert it into a PyArrow RecordBatchReader here: