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

语言: 中文