A data wrangling package
Project description
Time Shift
A simple Python utility to create lagged and lead variables for panel or time series data.
Installation
pip install data_wrangling
Usage
from data_wrangling import time_shift
df_new = time_shift(variables=["sales", "price"], dataframe=df, id="firm", time="year", shift=1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
data_wrangling-0.0.2.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file data_wrangling-0.0.2.tar.gz.
File metadata
- Download URL: data_wrangling-0.0.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
508a4dffe640844b0c17770277b5f8aca4631b484f46aaa462419c07a2b29500
|
|
| MD5 |
37ccaa4a09658d23934725ff22e00608
|
|
| BLAKE2b-256 |
d6638e6ccbb9b3ade875870db1c0e43a7b3768a9f9fb4d7d67910374cff6224a
|
File details
Details for the file data_wrangling-0.0.2-py3-none-any.whl.
File metadata
- Download URL: data_wrangling-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a866022b9c6b16bdc56db3b1da36abdd86da94bf1ab477a9c7c62e7ebab352b
|
|
| MD5 |
0cedd8417ea0b22b63895eca48fb84df
|
|
| BLAKE2b-256 |
c8add2b1bf57e377195d3de43a588d27d49e357b9d828e055c2b49358f0d1b64
|