PNDSPY1003

Element is not recognized

Category

Conversion Error

Description

This issue appears when there is a Pandas element that is not yet recognized by the SMA. This can occur for different reasons, such as:

  • An element that does not exist in Pandas.

  • An element that was added in a Pandas version that the SMA does not yet support.

  • An internal error of the SMA when processing the element.

Example

Input code:

import pandas as pd

df = pd.DataFrame(
    {
        "Name": ["Alice", "Bob", "Charlie"],
        "Age": [25, 30, 35],
        "City": ["New York", "Los Angeles", "Chicago"],
    }
)

df.non_existent_function()

Output code:

import snowflake.snowpark.modin.pandas as pd

df = pd.DataFrame(
    {
        "Name": ["Alice", "Bob", "Charlie"],
        "Age": [25, 30, 35],
        "City": ["New York", "Los Angeles", "Chicago"],
    }
)

#EWI: PNDSPY1003 => pandas.core.frame.DataFrame.non_existent_function is not yet recognized
df.non_existent_function()

Recommendation

  • Check if the element exists in Pandas. If it is a valid Pandas element, please report that you encountered a conversion error on that particular element using the Report an Issue option in the SMA and include any additional information that you think may be helpful.

  • For more support, you can email us at sma-support@snowflake.com. If you have a contract for support with Snowflake, reach out to your sales engineer and they can direct your support needs.

Last updated