cf.Data.roll

Data.roll(axis, shift, inplace=False, i=False)[source]

A lot like numpy.roll

Parameters:
inplace: bool, optional

If True then do the operation in-place and return None.

i: deprecated at version 3.0.0

Use inplace parameter instead.

Returns:

Data