Hi,

I have a RDD  like this .

[ 12, 45 ]
[ 14, 50 ]
[ 10, 35 ]
[ 11, 50 ]

i want to aggreate values of first two rows into 1 row and subsequenty the
next two rows into another single row...

i don't have a key to aggregate for using some of the aggregate pyspark
functions, how to achieve it ?

Reply via email to