semvec/pypi-packages huggingface dataset:
ticktocker 0.7
A simple Python package for clocking
License: MIT
Requires Python: >=3.10

# `ticktocker`

<p align="center">
  <img src="https://github.com/yehogwon/ticktocker/actions/workflows/ci.yml/badge.svg" alt="CI Status">
  <img src="https://github.com/yehogwon/ticktocker/actions/workflows/release.yml/badge.svg" alt="CD Status">
  <img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT">
</p>


`ticktocker` is a Python package that helps you measure the time taken by code execution. It provides a simple and intuitive way to track performance and optimize your code.

## Todos

...

## Features

- Wall-clock time measurement
- (Future) CPU time measurement
- (Future) Time restrictions
SciCraft 0.0.11
Simplifying Data Science with Python
License: MIT
Requires Python: >=3.8

# Time Shift

A simple Python utility to create lagged and lead variables for panel or time series data.

## Installation

```bash
pip install scicraft
```

## Usage

### Time_shift:

```python
from scicraft import time_shift

df_new = time_shift(variables=["sales", "price"], dataframe=df, id="firm", time="year", shift=1)
```

### Mutate (function):
``` python
from scicraft import mutate
df=mutate(df, 'price>104','new_var',4)
```

### Mutate (pandas api):
``` python
import scicraft as sc
df=df.sc.mutate('price>104','new_var',4)
```