Pyspark Impor StringType
from pyspark.sql.types import StringType
Matheus Batista
from pyspark.sql.types import StringType