-
lance.LanceDataset.to_batches(columns: list[str] | dict[str, str] | None =
None, filter: str | 表达式 | 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, strict_batch_size: bool | None =None, **kwargs) Iterator[RecordBatch] 将数据集读取为物化的记录批次。
- Parameters:
- Returns:
record_batches
- Return type:
RecordBatch的迭代器