pyspark.sql.functions. datediff (end, start)[source]¶ ... ['d1', 'd2']) >>> df.select(datediff(df.d2, df.d1).alias('diff')).collect() [Row(diff=32)].
確定! 回上一頁