title: How to subsetting pyspark dataframe in to 4 dataframes?
body: <p>I have a pyspark data frame with more than one million records, I need to subset in to 4 datafames. Like 1st 2.5 hundred thousand records in to one data frame and next 2.5 hundred thousand records in to next data frame. How can i do this? </p>