<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_pasteas_data(self, dim, obj):
 """Returns list of lists of obj than has dimensionality dim Parameters dim: Integer \tDimensionality of obj obj: Object \tIterable object of dimensionality dim """


        if dim == 0:
            return [[repr(obj)]]
        elif dim == 1:
            return [[repr(o)] for o in obj]
        elif dim == 2:
            return [map(repr, o) for o in obj]