SPRKPY1068
pyspark.sql.DataFrame.toPandas
Message: toPandas contains columns of type ArrayType that is not supported and has a workaround.
Category: Warning
Description
pyspark.sql.DataFrame.toPandas doesn't work properly If there are columns of type ArrayType. The workaround for these cases is converting those columns into a Python Dictionary by using json.loads method.
Scenario
Input
ToPandas returns the data of the original DataFrame as a Pandas DataFrame.
Output
The tool adds this EWI to let you know that toPandas is not supported If there are columns of type ArrayType, but has workaround.
Recommended fix
Additional recommendations
For more support, you can email us at sma-support@snowflake.com or post an issue in the SMA.
Last updated