snowflake.ml.dataset.DatasetVersion¶
- class snowflake.ml.dataset.DatasetVersion(dataset: Dataset, version: str)¶
- Bases: - SerializableSessionMixin- 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[snowflake.snowpark.row.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¶