initialDF .withColumn("OriginalCol", initialDF.OriginalCol.cast(IntegerType))
Or
initialDF .withColumn("OriginalCol", initialDF.OriginalCol.cast(IntegerType()))
However, always failed with this error :
NameError: name 'IntegerType' is not defined
...