<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sum(self):
 """ Add up the elements in this RDD. 6.0 """

        return self.mapPartitions(lambda x: [sum(x)]).fold(0, operator.add)