snowflake.ml.dataset.DatasetVersion

class snowflake.ml.dataset.DatasetVersion(dataset: Dataset, version: str)

Bases: object

Represents a version of a Snowflake Dataset

Initialize a DatasetVersion object.

Parameters:
  • dataset – The parent Snowflake Dataset.

  • version – Dataset version name.

Methods

list_files(subdir: Optional[str] = None) List[Row]

Get the list of remote file paths for the current DatasetVersion.

url() str

Returns the URL of the DatasetVersion contents in Snowflake.

Returns:

Snowflake URL string.

Attributes

comment
created_on
exclude_cols
label_cols
name