# forge.series.shift

```python
forge.series.shift(x: ArrayLike, n: int = 1, *, fill: float = nan) -> np.ndarray
```

``x`` moved ``n`` bars later, so the value at bar ``i`` is ``x[i - n]``.

The first ``n`` bars hold ``fill``, NaN unless given. ``n`` is a whole number of bars back, 0 or
more.

Since Forge API 1.
