PNDSPY1006¶
Message pandas.core.series.Series.apply has a partial mapping because Snowpark pandas does not support a non-callable function as parameter.
Category Warning
Description¶
This issue appears when the SMA identifies a pandas.core.series.Series.apply usage. Snowpark pandas offers a partial equivalent, but it doesn’t support non-callable values as a parameter.
Scenario¶
An unsupported use of pandas.core.series.Series.apply.
Input¶
The following example shows an unsupported use of pandas.core.series.Series.apply.
Output¶
The SMA adds the EWI PNDSPY1006 to the output code to indicate that it has a scenario not supported in Snowpark pandas.
Recommended fix¶
Ensure that the function used within the apply method is callable.