<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def partitionBy(self, numPartitions, partitionFunc=portable_hash):
 """ Return a copy of the DStream in which each RDD are partitioned using the specified partitioner. """

        return self.transform(lambda rdd: rdd.partitionBy(numPartitions, partitionFunc))