pandas.Series.reshape

Series.reshape(*args, **kwargs)

return an ndarray with the values shape if the specified shape matches exactly the current shape, then return self (for compat)