Hello, Looking at https://spark.apache.org/docs/1.5.1/api/python/_modules/pyspark/sql/types.html
and can't wrap my head around how to convert string data types names to actual pyspark.sql.types data types? Does pyspark.sql.types has an interface to return StringType() for "string", IntegerType() for "integer" etc? If it doesn't exist it would be great to have such a mapping function. Thank you. ps. I have a data frame, and use its dtypes to loop through all columns to fix a few columns' data types as a workaround for SPARK-13866. -- Ruslan Dautkhanov