snowflake.snowpark.DataFrame.ai

property DataFrame.ai: DataFrameAIFunctions[source]

Returns a DataFrameAIFunctions object that provides AI-powered functions for the DataFrame.

Access this namespace through an existing DataFrame, for example df.ai. It is not a column and accessing it does not itself execute an AI function. Call a method on the namespace to build an AI operation.

See DataFrameAIFunctions.classify(), DataFrameAIFunctions.extract(), and DataFrameAIFunctions.sentiment() for parameters and examples. The DataFrameAIFunctions reference lists the available methods.