pandas.Series.reshape

Series.reshape(*args, **kwargs)

Return the values attribute of self with shape args. However, if the specified shape matches exactly the current shape, self is returned for compatibility reasons.