-
lance.LanceDataset.to_batches(columns: list[str] | dict[str, str] | None =
None
, filter: str | Expression | None =None
, limit: int | None =None
, offset: int | None =None
, nearest: dict | None =None
, batch_size: int | None =None
, batch_readahead: int | None =None
, fragment_readahead: int | None =None
, scan_in_order: bool | None =None
, *, prefilter: bool | None =None
, with_row_id: bool | None =None
, with_row_address: bool | None =None
, use_stats: bool | None =None
, full_text_query: str | dict | None =None
, io_buffer_size: int | None =None
, late_materialization: bool | list[str] | None =None
, use_scalar_index: bool | None =None
, **kwargs) Iterator[RecordBatch] Read the dataset as materialized record batches.
- Parameters:
- Returns:
record_batches
- Return type:
Iterator of
RecordBatch