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.