You are viewing documentation about an older version (1.13.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]ΒΆ

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