access_time 9 months ago languageEnglish
more_vert

Change Column Type in PySpark DataFrame

visibility 7,918 comment 0
This article shows how to change column types of Spark DataFrame using Python. For example, convert StringType to DoubleType, StringType to Integer, StringType to DateType. Follow article  Convert Python Dictionary List to PySpark DataFrame to construct a dataframe.
info Last modified by Raymond 5 months ago
thumb_up 0

comment Comments

No comments yet.

Forum discussions for column Spark.

Follow Kontext

Get our latest updates on LinkedIn or Twitter.

Want to contribute on Kontext to help others?

Learn more