PNDSPY1013¶
Message pandas.core.frame.DataFrame.aggregate has a partial mapping because there is a not supported scenario in Snowpark pandas.
Category Warning
Description¶
This issue appears when the SMA identifies a pandas.core.frame.DataFrame.aggregate usage.
Snowpark pandas currently has limitations with DataFrame.aggregate. Check Supported Aggregation Functions for a list of supported functions.
Scenario¶
An unsupported use of pandas.core.frame.DataFrame.aggregate.
Input¶
The following example shows an unsupported use of pandas.core.frame.DataFrame.aggregate.
Output¶
The SMA adds the EWI PNDSPY1013 to the output code to indicate that it has a scenario not supported in Snowpark pandas.
Recommended fix¶
Since this is an error that applies to a range of partially supported aggregate functions, no specific fix applies to all cases. The appropriate action depends on the particular aggregate function in use.
Even though the element isn’t supported in some scenarios, you might still find a solution or workaround. This issue code only means that the SMA can’t convert the element automatically.