def reshape(self, *args, **kwargs):
        if len(args) == 1 and hasattr(args[0], '__iter__'):
            shape = args[0]
        else:
            shape = args

        if tuple(shape) == self.shape:
            # XXX ignoring the "order" keyword.
            return self

        return self._values.reshape(shape, **kwargs)
return an ndarray with the values shape
dataset/ETHPy150Open pydata/pandas/pandas/core/series.py/Series.reshape