Usage

Arguments

x

A SparkDataFrame

func

A function to be applied to each partition of the SparkDataFrame.
func should have only one parameter, to which a R data.frame corresponds
to each partition will be passed.
The output of func should be a R data.frame.