semvec/pypi-packages huggingface dataset:
data-wrangling 0.0.2
A data wrangling package
License: MIT
Requires Python: >=3.6

# Time Shift

A simple Python utility to create lagged and lead variables for panel or time series data.

## Installation

```bash
pip install data_wrangling
```

## Usage

```python
from data_wrangling import time_shift

df_new = time_shift(variables=["sales", "price"], dataframe=df, id="firm", time="year", shift=1)
```