Statistical and Mathematical Functions with Spark Dataframes