You are viewing documentation about an older version (1.12.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/release-v1.12.0/src/snowflake/snowpark/types.py#L533-L540)

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

语言: 中文