pandas.Series.reshape

Series.reshape(*args, **kwargs)[source]

DEPRECATED: calling this method will raise an error in a future release. Please call .values.reshape(...) instead.

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

See also

numpy.ndarray.reshape

Scroll To Top