I have been working with x-array. How do we reshape the array? Is there any method like re-shape in NumPy?
temp = data['__xarray_dataarray_variable__'][:, :, :]
The above line of code selects all the 3 dimensions of the x-array. Ie the shape of the array is (5, 2, 1). How do I change the x-array so that it is of the form (5*2, 1). Thanks in advance.