You are viewing documentation about an older version (1.12.1). 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]

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