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

snowflake.snowpark.types.PandasDataFrame

class snowflake.snowpark.types.PandasDataFrame(data=None, index: Axes | None = None, columns: Axes | None = None, dtype: Dtype | None = None, copy: bool | None = None)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/types.py#L543-L550)

Bases: DataFrame, Generic[_TT]

The type hint for annotating pandas DataFrame data when registering UDFs. The input should be a list of data types for all columns in order. It cannot be used to annotate the return value of a pandas UDF.

Methods

Attributes

Language: English