📜  pyspark 将浮点结果转换为整数替换 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:12.838000             🧑  作者: Mango

代码示例1
data_df = data_df.withColumn("Plays", data_df["Plays"].cast(IntegerType()))