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

snowflake.snowpark.types.PandasDataFrameType¶

class snowflake.snowpark.types.PandasDataFrameType(col_types: Iterable[DataType], col_names: Optional[Iterable[str]] = None)[source]¶

Bases: _PandasType

Pandas DataFrame data type. The input should be a list of data types for all columns in order. It cannot be used as the return type of a Pandas UDF.

Methods

get_snowflake_col_datatypes()

Get the column types of the dataframe as the input/output of a vectorized UDTF.