Returns a time series containing the data of a, but with a new shape.
The result is a view to the original array; if this is not possible, a ValueError is raised.
Parameters: | shape : shape tuple or int
order : {‘C’, ‘F’}, optional
|
---|---|
Returns: | reshaped_array : array
|
Warning
The _dates part is reshaped, but the order is NOT ensured.