Change Column Type in PySpark DataFrame
local_offer tutorial
local_offer pyspark
local_offer spark
local_offer how-to
local_offer spark-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.
Want to contribute on Kontext to help others?
Learn more