snowflake.ml.dataset.create_from_dataframe

snowflake.ml.dataset.create_from_dataframe(session: Session, name: str, version: str, input_dataframe: DataFrame, **version_kwargs: Any) Dataset

Create a new versioned Dataset from a DataFrame.

Parameters:
  • session – The Snowpark Session instance to use.

  • name – The dataset name

  • version – The dataset version name

  • input_dataframe – DataFrame containing data to be saved to the created Dataset.

  • version_kwargs – Keyword arguments passed to dataset version creation. See Dataset.create_version() documentation for supported arguments.

Returns:

A Dataset object.

Language: English