PNDSPY1016¶
Message pandas.core.series.Series.interpolate 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.series.Series.interpolate usage.
Snowpark pandas currently has limitations with Series.interpolate. It isn’t supported if axis == 1, limit is set, limit_area is “outside”, or method isn’t “linear”, “bfill”, “backfill”, “ffill”, or “pad”. Also, limit_area=”inside” is supported only when method is linear.
Scenario¶
An unsupported use of pandas.core.series.Series.interpolate.
Input¶
The following example shows an unsupported use of pandas.core.series.Series.interpolate.
Output¶
The SMA adds the EWI PNDSPY1016 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 parameters, no specific fix applies to all cases. The appropriate action depends on the particular parameter combination 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.