pyspark.sql.Column.astype

Column.astype(dataType)

astype() is an alias for cast().

New in version 1.4.