snowflake.snowpark.types.PandasDataFrameType¶
- class snowflake.snowpark.types.PandasDataFrameType(col_types: Iterable[DataType], col_names: Optional[Iterable[str]] = None)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/types.py#L476-L493)¶
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.