snowflake.snowpark.types.PandasDataFrameType¶
- class snowflake.snowpark.types.PandasDataFrameType(col_types: Iterable[DataType], col_names: Optional[Iterable[str]] = None)[source]¶
Bases:
_PandasTypepandas 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
fromJson(json_dict)from_json(json_dict)get_snowflake_col_datatypes()Get the column types of the dataframe as the input/output of a vectorized UDTF.
jsonValue()json_value()simpleString()simple_string()typeName()type_name()