You are viewing documentation about an older version (1.7.0). View latest version

snowflake.ml.data.data_ingestor.DataIngestor

class snowflake.ml.data.data_ingestor.DataIngestor(*args, **kwargs)

Bases: Protocol

Methods

classmethod from_sources(session: Session, sources: List[Union[DataFrameInfo, DatasetInfo, str]]) DataIngestorType
to_batches(batch_size: int, shuffle: bool = True, drop_last_batch: bool = True) Iterator[Dict[str, ndarray[Any, dtype[Any]]]]
to_pandas(limit: Optional[int] = None) pd.DataFrame

Attributes

data_sources