pyspark convert float results to integer replace

Solutions on MaxInterview for pyspark convert float results to integer replace by the best coders in the world

showing results for - "pyspark convert float results to integer replace"
Christabel
17 Apr 2016
1data_df = data_df.withColumn("Plays", data_df["Plays"].cast(IntegerType()))